fim: use replaceVars instead of substituteAll

This commit is contained in:
Wolfgang Walther 2025-04-23 23:26:47 +02:00
parent 9c45add790
commit 2b7b39cdd6
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -4,7 +4,7 @@
autoconf,
automake,
pkg-config,
substituteAll,
replaceVars,
lib,
perl,
flex,
@ -41,9 +41,11 @@ stdenv.mkDerivation rec {
patches = [
# build tools with a build compiler
(substituteAll {
src = ./native-tools.patch;
(replaceVars ./native-tools.patch {
cc_for_build = lib.getExe buildPackages.stdenv.cc;
# patch context
FIM_WANT_CUSTOM_HARDCODED_CONSOLEFONT_TRUE = null;
HAVE_RUNNABLE_TESTS_TRUE = null;
})
];