nixpkgs/pkgs/by-name/ra/ratchet/tests.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
278 B
Nix
Raw Normal View History

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