diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-02-22 03:28:30 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-02-22 03:31:24 +0100 |
commit | 5d834c40d0a1e397cc650f88b1544ee2e5912400 (patch) | |
tree | 78fedddf2142869b39c0f9473f6e3f162d5c7161 /tests/flakes/inputs.sh | |
parent | 904a107d16b69f28b9d61c677eb27b953d421a54 (diff) |
flakes: Differentiate `self.outPath` and `self.sourceInfo.outPath`
It would be incorrect to say that the `sourceInfo` has an `outPath`
that isn't the root. `sourceInfo` is about the root, whereas only
the flake may not be about the root. Thanks Eelco for pointing that
out.
Diffstat (limited to 'tests/flakes/inputs.sh')
-rw-r--r-- | tests/flakes/inputs.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/flakes/inputs.sh b/tests/flakes/inputs.sh index d6269fc59..80620488a 100644 --- a/tests/flakes/inputs.sh +++ b/tests/flakes/inputs.sh @@ -46,6 +46,7 @@ test_git_subdir_self_path() { default = assert builtins.readFile ./message == "all good\n"; assert builtins.readFile (inputs.self + "/message") == "all good\n"; + assert inputs.self.outPath == inputs.self.sourceInfo.outPath + "/b-low"; import ./simple.nix; }; }; |