aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/nar/nar.sh.in
blob: bffbbaf5e1df528f49076bec05d2b40b5eec9641 (plain)
1
2
3
4
5
#! /bin/sh

echo "packing $path into $out..."
@bindir@/nix --dump --file "$path" | bzip2 > $out || exit 1