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