lix/src/nix/get-env.sh
2020-04-30 14:47:47 +02:00

10 lines
193 B
Bash

set -e
if [ -e .attrs.sh ]; then source .attrs.sh; fi
export IN_NIX_SHELL=impure
export dontAddDisableDepTrack=1
if [[ -n $stdenv ]]; then
source $stdenv/setup
fi
export > $out
set >> $out