nixpkgs/pkgs/by-name/he/hello/test.nix
2023-09-05 16:11:04 +02:00

9 lines
165 B
Nix

{ runCommand, hello }:
runCommand "hello-test-run" {
nativeBuildInputs = [ hello ];
} ''
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
touch $out
''