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