summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-04-23 23:26:47 +0200
committerWolfgang Walther <walther@technowledgy.de>2025-04-23 23:27:18 +0200
commit2b7b39cdd6134cb86b67062f0280d1fcf05f3f9d (patch)
tree675cb2871f5d28cdd2a4b846e3d87fecd204c609
parentrocmPackages.llvm.clang-unwrapped: use replaceVars instead of substituteAll (diff)
downloadnixpkgs-2b7b39cdd6134cb86b67062f0280d1fcf05f3f9d.tar.gz
fim: use replaceVars instead of substituteAll
-rw-r--r--pkgs/by-name/fi/fim/package.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/fi/fim/package.nix b/pkgs/by-name/fi/fim/package.nix
index 3a452fac4bda..d31448da9c88 100644
--- a/pkgs/by-name/fi/fim/package.nix
+++ b/pkgs/by-name/fi/fim/package.nix
@@ -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;
})
];