treewide: replace substituteAll with replaceVars

This commit is contained in:
Wolfgang Walther
2025-02-10 22:51:56 +01:00
parent 2e43b87c62
commit b19d0f6d3d
175 changed files with 444 additions and 608 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, substituteAll, fetchurl
{ lib, stdenv, replaceVars, fetchurl
, zlibSupport ? true, zlib
, bzip2, pkg-config, libffi
, sqlite, openssl, ncurses, python, expat, tcl, tk, tclPackages, libX11
@@ -76,8 +76,7 @@ in with passthru; stdenv.mkDerivation rec {
patches = [
./dont_fetch_vendored_deps.patch
(substituteAll {
src = ./tk_tcl_paths.patch;
(replaceVars ./tk_tcl_paths.patch {
inherit tk tcl;
tk_dev = tk.dev;
tcl_dev = tcl;
@@ -85,8 +84,7 @@ in with passthru; stdenv.mkDerivation rec {
tcl_libprefix = tcl.libPrefix;
})
(substituteAll {
src = ./sqlite_paths.patch;
(replaceVars ./sqlite_paths.patch {
inherit (sqlite) out dev;
})
];