Skip to content

Commit

Permalink
.envrc: init for new shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil committed Jun 29, 2024
1 parent 81a7752 commit f0160ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Develompent support
/.editorconfig @Mic92 @zowoq
/shell.nix @infinisil @NixOS/Security
/.envrc @infinisil @NixOS/Security

# Libraries
/lib @infinisil
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ tags
/doc/manual.pdf
/source/
.version-suffix
.direnv

.DS_Store
.mypy_cache
Expand Down

1 comment on commit f0160ba

@toastal
Copy link
Contributor

@toastal toastal commented on f0160ba Jul 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I get red banner direnv: error /nixpkgs/.envrc is blocked. Run direnv allow to approve its content in Nixpkgs & can’t customize my setup like I have been with my personal/per-WIP env vars for testing stuff without having perpetual unmerged changes & needing to stash to just pull --rebase latest. I still don’t see what the value add is here in Nixpkgs when the folks that know about & want to use direnv could echo 'use nix' >> .envrc as an untracked file that doesn’t get in the way.

You have made hacking on specific packages & testing environment variables more difficult by making this a tracked file.

Please sign in to comment.