Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 17 lines 343 B view raw
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''