lix/corepkgs/nar/unnar.sh.in
2003-08-28 10:51:52 +00:00

7 lines
129 B
Bash

#! /bin/sh
export PATH=/bin:/usr/bin
echo "unpacking $nar to $out..."
bunzip2 < $nar | @bindir@/nix --restore "$out" || exit 1