tvl-depot/corepkgs/nar/unnar.sh.in
2003-11-22 20:39:51 +00:00

6 lines
135 B
Bash

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