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

echo "unpacking $nar to $out..."
bunzip2 < $nar | /nix/bin/nix --restore "$out" || exit 1