easy-dhall-nix/test.sh
2020-11-30 22:53:17 +01:00

8 lines
139 B
Bash
Executable file

#!/usr/bin/env sh
set -e
tmp="$(mktemp -d)"
trap "rm -r $tmp" EXIT
nix-build \
--out-link "$tmp"/result \
./test.nix
"$tmp/result"