os/overlays/various-flake-fixes.nix
David Arnold a088edd77a fmt
2021-07-16 16:57:57 -05:00

12 lines
284 B
Nix

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;
}