1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/by-name/ra/ratchet/tests.nix
2024-07-26 11:18:09 +02:00

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
''