ark/overlays/various-flake-fixes.nix

8 lines
252 B
Nix
Raw Normal View History

final: prev: {
# Since: https://github.com/NixOS/nixpkgs/pull/126137
nix-direnv =
if builtins.hasAttr "enableFlakes" prev.nix-direnv.override.__functionArgs
2022-02-18 20:31:01 +03:00
then prev.nix-direnv.override { enableFlakes = true; }
else prev.nix-direnv;
}