blob: 983a3590ec67ce76d919bd1afcc9dc3e6e7d875d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $DIR/nix_env
nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@"
result=$?
cat >> $(dirname $DIR)/versions_log <<EOF
Ran $(date) with args "$@" and returned "$result"
$($DIR/nix_infos | sed -e "s/^/ /")
EOF
|