summaryrefslogtreecommitdiff
path: root/scripts/make-env
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make-env')
-rwxr-xr-xscripts/make-env7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/make-env b/scripts/make-env
index ebb1eed2..983a3590 100755
--- a/scripts/make-env
+++ b/scripts/make-env
@@ -2,10 +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 $(dirname $DIR)/nix_path_env 5source $DIR/nix_env
6nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@" 6nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@"
7result=$?
7 8
8cat >> $(dirname $DIR)/versions_log <<EOF 9cat >> $(dirname $DIR)/versions_log <<EOF
9# Ran $(date) with args "$@" 10Ran $(date) with args "$@" and returned "$result"
10$($DIR/nix_infos | sed -e "s/^/# /") 11$($DIR/nix_infos | sed -e "s/^/ /")
11EOF 12EOF