Darwin build fixes for dante, pwgen, and srm. (#513252)

This commit is contained in:
Jörg Thalheim
2026-04-26 20:38:49 +00:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -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;
+2
View File
@@ -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";
+1
View File
@@ -17,6 +17,7 @@ stdenv.mkDerivation {
patches = [ ./fix-output-in-verbose-mode.patch ];
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "CFLAGS=-std=gnu17" ];
meta = {
description = "Delete files securely";