Commit ea17c502 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by Silvan Mosberger
Browse files

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.
parent 323012ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Just some text
+2 −2
Original line number Diff line number Diff line
@@ -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'';