Merge pull request #275591 from Mic92/nix-direnv-nixos
nixos/nix-direnv: respect configured nix package
This commit is contained in:
commit
3fcdbd3029
1 changed files with 8 additions and 1 deletions
|
@ -49,7 +49,14 @@ in {
|
|||
default = true;
|
||||
};
|
||||
|
||||
package = lib.mkPackageOption pkgs "nix-direnv" {};
|
||||
package = lib.mkOption {
|
||||
default = pkgs.nix-direnv.override { nix = config.nix.package; };
|
||||
defaultText = "pkgs.nix-direnv";
|
||||
type = lib.types.package;
|
||||
description = lib.mdDoc ''
|
||||
The nix-direnv package to use
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue