mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
9 lines
165 B
Nix
9 lines
165 B
Nix
|
{ runCommand, hello }:
|
||
|
|
||
|
runCommand "hello-test-run" {
|
||
|
nativeBuildInputs = [ hello ];
|
||
|
} ''
|
||
|
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
|
||
|
touch $out
|
||
|
''
|