biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / build-support / trivial-builders / test / references / samples.nix
blob5bafdcd8e7d072b014fd39a6233f70d1687e9ccc
1 { lib
2 , runCommand
3 , writeText
4 , emptyFile
5 , emptyDirectory
6 , figlet
7 , hello
8 , zlib
9 }:
11   inherit
12     figlet
13     hello
14     zlib
15     ;
16   zlib-dev = zlib.dev;
17   norefs = writeText "hi" "hello";
18   norefsDup = writeText "hi" "hello";
19   helloRef = writeText "hi" "hello ${hello}";
20   helloRefDup = writeText "hi" "hello ${hello}";
21   path = ./apath.txt;
22   pathLike.outPath = ./apath.txt;
23   helloFigletRef = writeText "hi" "hello ${hello} ${figlet}";
24   selfRef = runCommand "self-ref-1" { } "echo $out >$out";
25   selfRef2 = runCommand "self-ref-2" { } ''echo "${figlet}, $out" >$out'';
26   inherit
27     emptyFile
28     emptyDirectory
29     ;