From 95c68d457403b749638a4956a2e7e6453d2be9ff Mon Sep 17 00:00:00 2001 From: Sander Date: Sun, 24 Nov 2024 02:21:11 +0400 Subject: [PATCH] flake: make it difficult to clobber the flake shim This makes it harder to accidentally add the regular devenv CLI to packages and make the flake integration inoperable. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c699c589b..6333b2a6b 100644 --- a/flake.nix +++ b/flake.nix @@ -233,7 +233,7 @@ modules = [ (self.modules + /top-level.nix) ({ config, ... }: { - packages = [ + packages = pkgs.lib.mkBefore [ (mkDevShellPackage config pkgs) ]; devenv.warnOnNewVersion = false;