mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +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
|
|
''
|