guix/corepkgs/nar/nar.sh

4 lines
72 B
Bash

#! /bin/sh
/nix/bin/nix --dump --file "$path" | bzip2 > $out || exit 1