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:
committed by
Wolfgang Walther
parent
75a86ba873
commit
e110fdbd2c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user