fim: use replaceVars instead of substituteAll
This commit is contained in:
parent
9c45add790
commit
2b7b39cdd6
@ -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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user