aboutsummaryrefslogtreecommitdiff
path: root/scripts/make-env
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make-env')
-rwxr-xr-xscripts/make-env4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make-env b/scripts/make-env
index 983a359..25aa869 100755
--- a/scripts/make-env
+++ b/scripts/make-env
@@ -2,11 +2,11 @@
2 2
3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4 4
5source $DIR/nix_env 5eval "$(make --no-print-directory -C $(dirname $DIR) nix-path)"
6nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@" 6nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@"
7result=$? 7result=$?
8 8
9cat >> $(dirname $DIR)/versions_log <<EOF 9cat >> $(dirname $DIR)/versions_log <<EOF
10Ran $(date) with args "$@" and returned "$result" 10Ran $(date) with args "$@" and returned "$result"
11$($DIR/nix_infos | sed -e "s/^/ /") 11$(make --no-print-directory -C $(dirname $DIR) nix-info | sed -e "s/^/ /")
12EOF 12EOF