mirror of
https://github.com/nix-community/naersk
synced 2025-02-18 12:18:24 +00:00
Add tests for binaries
This commit is contained in:
parent
0b89694709
commit
c006f86e9d
1 changed files with 6 additions and 0 deletions
6
test.nix
6
test.nix
|
@ -80,6 +80,12 @@ rec
|
||||||
(pkgs.lib.cleanSource ./test/simple-dep)
|
(pkgs.lib.cleanSource ./test/simple-dep)
|
||||||
{};
|
{};
|
||||||
|
|
||||||
|
binary = naersk.buildPackage
|
||||||
|
(pkgs.lib.cleanSource ./test/binary)
|
||||||
|
{};
|
||||||
|
binary_test = pkgs.runCommand "binary-test" { buildInputs = [ binary ]; }
|
||||||
|
"my-bin > $out";
|
||||||
|
|
||||||
workspace = naersk.buildPackage
|
workspace = naersk.buildPackage
|
||||||
(pkgs.lib.cleanSource ./test/workspace)
|
(pkgs.lib.cleanSource ./test/workspace)
|
||||||
{ doDoc = false; };
|
{ doDoc = false; };
|
||||||
|
|
Loading…
Add table
Reference in a new issue