1{ runCommand, grass }:
2
3let
4 inherit (grass) pname version;
5
6in
7runCommand "${pname}-tests" { meta.timeout = 60; } ''
8 HOME=$(mktemp -d)
9
10 ${grass}/bin/grass --tmp-location EPSG:3857 --exec g.version \
11 | grep 'GRASS ${version}'
12
13 ${grass}/bin/grass --tmp-location EPSG:3857 --exec g.mapset -l \
14 | grep 'PERMANENT'
15
16 touch $out
17''