lix/corepkgs/nar/unnar.sh.in

7 lines
135 B
Bash
Raw Normal View History

2003-07-18 07:42:57 +00:00
#! /bin/sh
2003-08-28 10:51:52 +00:00
export PATH=/bin:/usr/bin
2003-07-18 07:42:57 +00:00
echo "unpacking $nar to $out..."
2003-11-22 20:39:51 +00:00
bunzip2 < $nar | @bindir@/nix-store --restore "$out" || exit 1