ark/overlays/various-flake-fixes.nix
2022-03-09 23:55:02 +03:00

8 lines
250 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;
}