nix-super/corepkgs/nar/unnar.sh.in

7 lines
135 B
Bash
Raw Normal View History

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