mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
17 lines
278 B
Nix
17 lines
278 B
Nix
|
{
|
||
|
runCommand,
|
||
|
ratchet,
|
||
|
}: let
|
||
|
inherit (ratchet) pname version;
|
||
|
in
|
||
|
runCommand "${pname}-tests" {meta.timeout = 60;}
|
||
|
''
|
||
|
set -euo pipefail
|
||
|
|
||
|
# Ensure ratchet is executable
|
||
|
${ratchet}/bin/ratchet --version
|
||
|
${ratchet}/bin/ratchet --help
|
||
|
|
||
|
touch $out
|
||
|
''
|