Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@ if ! which "$0" | grep -q nix; then
git checkout flake.lock
fi

print 'Installing Nix Profile...'
nf profile install . --profile "$profile"
echo 'Installing Nix Profile...'
if ! nf profile install . --profile "$profile"; then
echo 'Failed to install new Nix profile! Reverting to previous profile...'
git checkout flake.lock
nf profile install . --profile "$profile"
fi

nf profile list --profile "$profile"

print 'Starting...'
Expand Down