about summary refs log tree commit diff
path: root/pkgs/by-name/ra/ratchet/tests.nix
blob: 75ae285d734e34601543fce4f99eea649385664f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  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
  ''