nix: Refactor checkedShellScript's inRootDir to workingDir

This allows more flexible control over the working directory. Values for workingDir must always start
with a / and will then be relative to the repo root.
This commit is contained in:
Wolfgang Walther
2024-02-18 13:10:00 +01:00
committed by Wolfgang Walther
parent 75a86ba873
commit e110fdbd2c
10 changed files with 37 additions and 34 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ let
{
inherit name;
docs = "Pin the newest stable version of Nixpkgs.";
inRootDir = true;
workingDir = "/";
}
''
# The list of refs is sorted. The first result will be nixpkgs-unstable, the second the latest stable branch.