3 mydir=$(dirname $(dirname $(readlink -f $BASH_SOURCE)))
5 source $HOME/.nix-profile/etc/profile.d/nix.sh
7 for maybe in "$mydir/install-nix"
9 if [ -d "$maybe" ] ; then
10 echo "Located likely wire-cell toolkit installation: $maybe"
11 export LD_LIBRARY_PATH=$maybe/lib
17 echo "Starting subshell with Nix Python packages enabled, exit when done."
18 nix-shell -p python27Packages.matplotlib \
19 -p python27Packages.virtualenv \
20 -p python27Packages.jsonnet \
21 -p python27Packages.click
22 echo "Exiting Nix Python enabled subshell"