1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-30 00:48:21 +03:00
digga/overlays/various-flake-fixes.nix
2021-06-13 22:59:24 -05:00

10 lines
262 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;
}