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