mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 12:36:51 +03:00
05c8945db7
* Seems like cachix is still pushing the results up to the cache, we might as well get use of downloading the (empty) results rather than having to pull down the intermediary binaries and running them each time
14 lines
214 B
Nix
14 lines
214 B
Nix
{ runCommand
|
|
}:
|
|
|
|
bins: drv:
|
|
let
|
|
testList = map (b: "${drv}/bin/${b}") bins;
|
|
tests = builtins.concatStringsSep "\n" testList;
|
|
in
|
|
runCommand "smoke-${drv.name}" { } ''
|
|
# does it run?
|
|
${tests}
|
|
touch $out
|
|
''
|