about summary refs log tree commit diff
path: root/corepkgs/nar/nar.sh
blob: a7b6be8aaa0e70a30a128a23350f504adf28eb65 (plain) (blame)
1
2
3
4
5
#! /bin/sh

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