nix-direnv: keep package option until this PR

https://github.com/nix-community/home-manager/pull/5773
This commit is contained in:
Sridhar Ratnakumar 2024-08-27 16:10:36 -04:00
parent aa15c4dc0b
commit a8f112e759
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
enable = true;
nix-direnv = {
enable = true;
# Until https://github.com/juspay/nix-dev-home/issues/68
# Until https://github.com/nix-community/home-manager/pull/5773
package = lib.mkIf (config.nix.package != null)
(pkgs.nix-direnv.override { nix = config.nix.package; });
};