nixpkgs/pkgs/applications/misc/hello/test.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
165 B
Nix
Raw Normal View History

2021-04-26 12:47:18 +00:00
{ runCommand, hello }:
runCommand "hello-test-run" {
nativeBuildInputs = [ hello ];
} ''
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
touch $out
''