mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
tests.trivial-builders: Prevent rebuilds when Nix files change
There's no need to use a Nix file in the path here. By using a different file we won't cause rebuilds when we change the Nix file, in particular also when the Nix file is reformatted.
This commit is contained in:
parent
323012ced2
commit
ea17c502d2
@ -0,0 +1 @@
|
||||
Just some text
|
@ -18,8 +18,8 @@
|
||||
norefsDup = writeText "hi" "hello";
|
||||
helloRef = writeText "hi" "hello ${hello}";
|
||||
helloRefDup = writeText "hi" "hello ${hello}";
|
||||
path = ./samples.nix;
|
||||
pathLike.outPath = ./samples.nix;
|
||||
path = ./apath.txt;
|
||||
pathLike.outPath = ./apath.txt;
|
||||
helloFigletRef = writeText "hi" "hello ${hello} ${figlet}";
|
||||
selfRef = runCommand "self-ref-1" { } "echo $out >$out";
|
||||
selfRef2 = runCommand "self-ref-2" { } ''echo "${figlet}, $out" >$out'';
|
||||
|
Loading…
Reference in New Issue
Block a user