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