treewide: installTargets is a list

This commit is contained in:
Robin Gloster
2019-12-31 00:25:26 +01:00
committed by Jan Tojnar
parent ba0a3edf7f
commit 755db0b689
18 changed files with 20 additions and 38 deletions
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
doCheck = true;
preInstall = "rm libcryptopp.a"; # built for checks but we don't install static lib into the nix store
installTargets = "install-lib";
installTargets = [ "install-lib" ];
installFlags = [ "LDCONF=true" ];
postInstall = optionalString (!stdenv.hostPlatform.isDarwin) ''
ln -sr $out/lib/libcryptopp.so.${version} $out/lib/libcryptopp.so.${versions.majorMinor version}