]>
Commit | Line | Data |
---|---|---|
ea9d3f4b IB |
1 | #!/bin/bash |
2 | ||
431759ea IB |
3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
4 | ||
4506dbe5 | 5 | eval "$(make --no-print-directory -C $(dirname $DIR) nix-path)" |
fdf6f74d | 6 | nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@" |
dbcba2ea | 7 | result=$? |
9c5fe7b7 IB |
8 | |
9 | cat >> $(dirname $DIR)/versions_log <<EOF | |
dbcba2ea | 10 | Ran $(date) with args "$@" and returned "$result" |
4506dbe5 | 11 | $(make --no-print-directory -C $(dirname $DIR) nix-info | sed -e "s/^/ /") |
9c5fe7b7 | 12 | EOF |