Skip to content

Commit

Permalink
init: common flake compat fixes for other nixpkgs
Browse files Browse the repository at this point in the history
fixes #315
  • Loading branch information
David Arnold committed Jun 13, 2021
1 parent b3118a6 commit 8b0b05c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions overlays/various-flake-fixes.nix
@@ -0,0 +1,8 @@
final: prev: {
nix-direnv =
if builtins.hasAttr "enableFlakes" prev.nix-direnv.override.__functionArgs
then prev.nix-direnv.override {
enableFlakes = true;
}
else prev.nix-direnv;
}

0 comments on commit 8b0b05c

Please sign in to comment.