From 67fba5edad38f8a4651a6a782c7abdc696a464ff Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 5 Jul 2024 18:26:55 -0400 Subject: back to lume for the 1000th time --- flake.nix | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0b705d1..85af52c 100644 --- a/flake.nix +++ b/flake.nix @@ -34,25 +34,21 @@ treefmt = treefmtFor.${system}.config.build.check self; }); - devShells = forAllSystems (system: { - default = import ./shell.nix { - inherit system; - pkgs = nixpkgsFor.${system}; - formatter = self.formatter.${system}; - }; - }); - - formatter = forAllSystems (system: treefmtFor.${system}.config.build.wrapper); - - packages = forAllSystems ( + devShells = forAllSystems ( system: let - pkgs' = import ./. { - inherit system; - pkgs = nixpkgsFor.${system}; - }; + pkgs = nixpkgsFor.${system}; in - pkgs' // { default = pkgs'.website; } + { + default = pkgs.mkShellNoCC { + packages = [ + pkgs.deno + self.formatter.${system} + ]; + }; + } ); + + formatter = forAllSystems (system: treefmtFor.${system}.config.build.wrapper); }; } -- cgit v1.2.3