1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

use substituteInPlace

This commit is contained in:
2025-12-25 09:08:42 +01:00
parent 6ac4d821b8
commit c490c81a32

View File

@@ -27,8 +27,9 @@ stdenv.mkDerivation {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=format-security"
];
patchPhase = ''
${gnused}/bin/sed -i s/noinst_PROGRAMS/bin_PROGRAMS/ tools/src/Makefile.am
postPatch = ''
substituteInPlace tools/src/Makefile.am \
--replace-fail noinst_PROGRAMS bin_PROGRAMS
'';
installFlags = ["INSTALL_PREFIX=$(out)"];
autoreconfPhase = ''