helm/overlays/various-flake-fixes.nix

12 lines
284 B
Nix
Raw Permalink Normal View History

2021-10-01 07:08:00 -07:00
final: prev: {
# Since: https://github.com/NixOS/nixpkgs/pull/126137
nix-direnv =
if builtins.hasAttr "enableFlakes" prev.nix-direnv.override.__functionArgs
then
prev.nix-direnv.override
{
enableFlakes = true;
}
else prev.nix-direnv;
}