nix-super/corepkgs/nar/unnar.sh
Eelco Dolstra 335aa1c35d * Doh!
2003-07-16 20:49:59 +00:00

4 lines
102 B
Bash

#! /bin/sh
echo "unpacking $nar to $out..."
bunzip2 < $nar | /nix/bin/nix --restore "$out" || exit 1