Skip to content

Commit

Permalink
flake: make it difficult to clobber the flake shim
Browse files Browse the repository at this point in the history
This makes it harder to accidentally add the regular devenv CLI to
packages and make the flake integration inoperable.
  • Loading branch information
sandydoo committed Nov 23, 2024
1 parent 741e23a commit 95c68d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
modules = [
(self.modules + /top-level.nix)
({ config, ... }: {
packages = [
packages = pkgs.lib.mkBefore [
(mkDevShellPackage config pkgs)
];
devenv.warnOnNewVersion = false;
Expand Down

0 comments on commit 95c68d4

Please sign in to comment.