nix-direnv: use nix (2.4) and remove enableFlakes#145236
nix-direnv: use nix (2.4) and remove enableFlakes#145236lovesegfault merged 1 commit intoNixOS:masterfrom
Conversation
|
Maybe nix shouldn't be baked into this package at all; couldn't it just use the environment's Nix? That would make it easier for users to upgrade their nix to whichever version works best for them, considering that flakes are still in development. |
dc6fdfc to
6c1b98e
Compare
Maybe? @Mic92 probably knows best here. |
If someone does not want to use flakes, they don't have to. |
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
True, but not what I was trying to say. I think some people will want to upgrade from stable nix (which also supports flakes) to nixUnstable which will contain more fixes. |
Follow-up to NixOS#144197 since nixUnstable is no longer needed for flake support.
6c1b98e to
c03040c
Compare
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
I personally don't care if it is pinned or not. I introduced this hard-coding based on feedback with other people: nix-community/nix-direnv#52 cc @anka-213 @hmenke |
I do care for the poor soul who upgrades their Nix and stuff still doesn't work. Sadly, I don't have infinite time. |
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
Follow-up to #144197 since nixUnstable is no longer needed for flake
support.
Motivation for this change
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)