libscrypt: fix build on darwin

problematic flags have been moved to LDFLAGS_EXTRA
This commit is contained in:
Robert Scott 2022-05-21 17:53:49 +01:00
parent cb6fac46c1
commit ef16b2e7f7

View File

@ -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";