dragnpkgs/lib/fetchb4/builder.sh

7 lines
256 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="/tmp"
PYTHONHASHSEED=0 b4 am -C -N $b4_flags -o- "$msgid" > "$out"