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