summary refs log tree commit diff
path: root/pkgs/development/libraries/libscrypt
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-21 17:53:49 +0100
committerRobert Scott <code@humanleg.org.uk>2022-05-21 17:53:49 +0100
commitef16b2e7f7b826a1525df034a5a1e6ddadf0a799 (patch)
tree091ad8960da65b5efc4f8cafc2aeaa96f9691f44 /pkgs/development/libraries/libscrypt
parentcb6fac46c1cba416a7ae76064f1fdb769399e55d (diff)
downloadnixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar.gz
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar.bz2
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar.lz
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar.xz
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.tar.zst
nixpkgs-ef16b2e7f7b826a1525df034a5a1e6ddadf0a799.zip
libscrypt: fix build on darwin
problematic flags have been moved to LDFLAGS_EXTRA
Diffstat (limited to 'pkgs/development/libraries/libscrypt')
-rw-r--r--pkgs/development/libraries/libscrypt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libscrypt/default.nix b/pkgs/development/libraries/libscrypt/default.nix
index 68ef1afd2ee..6adc2124a3a 100644
--- a/pkgs/development/libraries/libscrypt/default.nix
+++ b/pkgs/development/libraries/libscrypt/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-QWWqC10bENemG5FYEog87tT7IxDaBJUDqu6j/sO3sYE=";
   };
 
-  buildFlags = lib.optional stdenv.isDarwin "LDFLAGS= CFLAGS_EXTRA=";
+  buildFlags = lib.optional stdenv.isDarwin "LDFLAGS= LDFLAGS_EXTRA= CFLAGS_EXTRA=";
 
   installFlags = [ "PREFIX=$(out)" ];
   installTargets = lib.optional stdenv.isDarwin "install-osx";