adns: rearrange furniture

Emily cf3ff2dd 9a071c95

+6 -5
+6 -5
pkgs/by-name/ad/adns/package.nix
··· 1 1 { 2 - stdenv, 3 2 lib, 3 + stdenv, 4 4 fetchurl, 5 5 gnum4, 6 6 gitUpdater, ··· 22 22 23 23 configureFlags = lib.optional stdenv.hostPlatform.isStatic "--disable-dynamic"; 24 24 25 - preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure"; 26 - 27 25 # Autogenerated headers miss interdependencies in Makefile, fail parallel build: 28 26 # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51329 29 27 enableParallelBuilding = false; ··· 31 29 # https://www.mail-archive.com/nix-dev@cs.uu.nl/msg01347.html for details. 32 30 doCheck = false; 33 31 32 + # darwin executables fail, but I don't want to fail the 100-500 packages depending on this lib 33 + doInstallCheck = !stdenv.hostPlatform.isDarwin; 34 + 35 + preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure"; 36 + 34 37 postInstall = 35 38 let 36 39 suffix = lib.versions.majorMinor version; ··· 39 42 install_name_tool -id $out/lib/libadns.so.${suffix} $out/lib/libadns.so.${suffix} 40 43 ''; 41 44 42 - # darwin executables fail, but I don't want to fail the 100-500 packages depending on this lib 43 - doInstallCheck = !stdenv.hostPlatform.isDarwin; 44 45 installCheckPhase = '' 45 46 set -eo pipefail 46 47