dragnpkgs/lib/fetchb4/builder.sh

7 lines
226 B
Bash

if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
source $stdenv/setup
echo "Downloading kernel patch $msgid into $out"
export HOME="$PWD"
b4 am -C -o- "$msgid" > "$out"