Skip to content

Commit

Permalink
Add the Nix-built binary to PATH via direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrenierejm committed Jul 22, 2023
1 parent 041711a commit 667a015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if command -v nix >/dev/null 2>&1; then
# https://stackoverflow.com/a/52575087/8468492
use flake 2> >(grep -v 'hooks up to date' >&2)
PATH_add "$PWD/result/bin"
fi

0 comments on commit 667a015

Please sign in to comment.