tvl-depot/corepkgs/nar/unnar.sh.in
2003-11-24 16:38:46 +00:00

6 lines
143 B
Bash

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