about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorAlan Pearce2023-09-15 20:08:37 +0200
committerAlan Pearce2023-09-15 20:08:37 +0200
commit415f7ccd165fec95eb2451ad3f23d95a0c4d2143 (patch)
treef6aae9f8b6cb5182f4a54f2366f1dc427e7aad87 /flake.nix
parent6474b1db0a4f8bdf3c83acd329cf822a9f45f563 (diff)
downloadwebsite-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.tar.lz
website-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.tar.zst
website-415f7ccd165fec95eb2451ad3f23d95a0c4d2143.zip
Fix build
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix19
1 files changed, 4 insertions, 15 deletions
diff --git a/flake.nix b/flake.nix
index 900c3cf..3ccad0d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,12 +13,6 @@
       (system:
         let
           pkgs = nixpkgs.legacyPackages.${system};
-          overlays = [
-            (final: prev: rec {
-              nodejs = prev.nodejs-18_x;
-              bun = (prev.bun.override { inherit nodejs; });
-            })
-          ];
           nativeBuildInputs = with pkgs; [
             zola
             nodePackages.prettier
@@ -54,17 +48,12 @@
           devShells = {
             default = pkgs.mkShell {
               packages = with pkgs; [
-                node2nix
-                nodejs
-              ] ++ (with pkgs.nodePackages; [
-                prettier
-              ]);
-            };
-            ssg = pkgs.mkShell {
-              buildInputs = with pkgs; [
+                bun
                 caddy
                 flyctl
-              ] ++ nativeBuildInputs;
+              ] ++ nativeBuildInputs ++ (with pkgs.nodePackages; [
+                prettier
+              ]);
             };
           };
         });