9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
18 lines
359 B
Nix
18 lines
359 B
Nix
{ runCommand, grass }:
|
|
|
|
let
|
|
inherit (grass) pname version;
|
|
|
|
in
|
|
runCommand "${pname}-tests" { meta.timeout = 60; }
|
|
''
|
|
HOME=$(mktemp -d)
|
|
|
|
${grass}/bin/grass --tmp-location EPSG:3857 --exec g.version \
|
|
| grep 'GRASS ${version}'
|
|
|
|
${grass}/bin/grass --tmp-location EPSG:3857 --exec g.mapset -l \
|
|
| grep 'PERMANENT'
|
|
|
|
touch $out
|
|
''
|