Reapply "refactor: substituteAll -> replaceVars"
This reverts commit 61ca6faf84.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, pkgs
|
||||
, substituteAll
|
||||
, replaceVarsWith
|
||||
, runtimeShell
|
||||
, coreutils
|
||||
, findutils
|
||||
@@ -13,13 +13,15 @@
|
||||
}:
|
||||
|
||||
let
|
||||
script = substituteAll {
|
||||
script = replaceVarsWith {
|
||||
name = "nuke-homebrew-repository";
|
||||
src = ./nuke-homebrew-repository.sh.in;
|
||||
isExecutable = true;
|
||||
|
||||
inherit runtimeShell;
|
||||
path = lib.makeBinPath [ coreutils findutils gnugrep gnused gitMinimal ];
|
||||
replacements = {
|
||||
inherit runtimeShell;
|
||||
path = lib.makeBinPath [ coreutils findutils gnugrep gnused gitMinimal ];
|
||||
};
|
||||
};
|
||||
|
||||
test-nuke =
|
||||
|
||||
Reference in New Issue
Block a user