Darwin build fixes for dante, pwgen, and srm. (#513252)
This commit is contained in:
@@ -37,7 +37,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
if !stdenv.hostPlatform.isDarwin then
|
||||
[ "--with-libc=libc.so.6" ]
|
||||
else
|
||||
[ "--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}" ];
|
||||
[
|
||||
"--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
"CFLAGS=-std=gnu17"
|
||||
];
|
||||
|
||||
dontAddDisableDepTrack = stdenv.hostPlatform.isDarwin;
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
configureFlags = [ "CFLAGS=-std=gnu17" ];
|
||||
|
||||
meta = {
|
||||
description = "Password generator which creates passwords which can be easily memorized by a human";
|
||||
homepage = "https://github.com/tytso/pwgen";
|
||||
|
||||
@@ -17,6 +17,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./fix-output-in-verbose-mode.patch ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
configureFlags = [ "CFLAGS=-std=gnu17" ];
|
||||
|
||||
meta = {
|
||||
description = "Delete files securely";
|
||||
|
||||
Reference in New Issue
Block a user