From 5ff547399c9adaa39099c56818203b21c38aa7e6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 11 Jun 2021 16:04:55 +0200 Subject: [PATCH] nix-direnv: Enable flake support Flake support for nix-direnv was made optional in nixpkgs and it has to be explicitly enabled. --- pkgs/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/default.nix b/pkgs/default.nix index 95c15d1..55a2aca 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -61,4 +61,9 @@ in sha256 = "0mjs3yilf5rixm67wk4h4jji54dsc0w3vfxd561pvfbxplbmgh3c"; }; }); + + # TODO: remove when flakes support is in nix stable + nix-direnv = prev.nix-direnv.override { + enableFlakes = true; + }; }