add missing file and callpackage as import
This commit is contained in:
parent
830f8d51b3
commit
da2b430ead
@ -13,6 +13,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
nixos,
|
nixos,
|
||||||
|
callPackage,
|
||||||
testers,
|
testers,
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
hello,
|
hello,
|
||||||
|
|||||||
8
packages/hello/test.nix
Normal file
8
packages/hello/test.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ runCommand, hello }:
|
||||||
|
|
||||||
|
runCommand "hello-test-run" {
|
||||||
|
nativeBuildInputs = [ hello ];
|
||||||
|
} ''
|
||||||
|
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
|
||||||
|
touch $out
|
||||||
|
''
|
||||||
Loading…
x
Reference in New Issue
Block a user