mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 23:17:15 +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
|
|
''
|