2020-04-30 11:05:29 +00:00
|
|
|
set -e
|
2020-04-30 12:39:26 +00:00
|
|
|
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
2020-07-06 16:34:58 +00:00
|
|
|
|
2020-04-30 11:05:29 +00:00
|
|
|
export IN_NIX_SHELL=impure
|
|
|
|
export dontAddDisableDepTrack=1
|
2020-07-06 16:34:58 +00:00
|
|
|
|
2020-04-30 11:05:29 +00:00
|
|
|
if [[ -n $stdenv ]]; then
|
|
|
|
source $stdenv/setup
|
|
|
|
fi
|
2020-07-06 16:34:58 +00:00
|
|
|
|
2020-08-28 16:16:03 +00:00
|
|
|
for __output in $outputs; do
|
|
|
|
if [[ -z $__done ]]; then
|
|
|
|
export > ${!__output}
|
|
|
|
set >> ${!__output}
|
|
|
|
__done=1
|
|
|
|
else
|
|
|
|
echo -n >> ${!__output}
|
|
|
|
fi
|
|
|
|
done
|