about summary refs log blame commit diff
path: root/corepkgs/nar/unnar.sh.in
blob: 8a4532af369e6044ed27d76abfb747f2ca881d75 (plain) (tree)
1
2
3
4
5
6

          

                         

                                                        
#! /bin/sh

export PATH=/bin:/usr/bin

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