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";
|
norefsDup = writeText "hi" "hello";
|
||||||
helloRef = writeText "hi" "hello ${hello}";
|
helloRef = writeText "hi" "hello ${hello}";
|
||||||
helloRefDup = writeText "hi" "hello ${hello}";
|
helloRefDup = writeText "hi" "hello ${hello}";
|
||||||
path = ./samples.nix;
|
path = ./apath.txt;
|
||||||
pathLike.outPath = ./samples.nix;
|
pathLike.outPath = ./apath.txt;
|
||||||
helloFigletRef = writeText "hi" "hello ${hello} ${figlet}";
|
helloFigletRef = writeText "hi" "hello ${hello} ${figlet}";
|
||||||
selfRef = runCommand "self-ref-1" { } "echo $out >$out";
|
selfRef = runCommand "self-ref-1" { } "echo $out >$out";
|
||||||
selfRef2 = runCommand "self-ref-2" { } ''echo "${figlet}, $out" >$out'';
|
selfRef2 = runCommand "self-ref-2" { } ''echo "${figlet}, $out" >$out'';
|
||||||
|
Loading…
Reference in New Issue
Block a user