guix/corepkgs/nar/unnar.sh.in

7 lines
129 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..."
bunzip2 < $nar | @bindir@/nix --restore "$out" || exit 1