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