flake.nix (view raw)
1{
2 description = "site";
3
4 inputs = {
5 vite.url = "github:icyphox/go-vite";
6 flake-utils.url = "github:numtide/flake-utils";
7 };
8
9 outputs = { self, nixpkgs, flake-utils, vite }:
10 flake-utils.lib.eachDefaultSystem
11 (system:
12 let
13 pkgs = nixpkgs.legacyPackages.${system};
14 in
15 {
16 devShell = pkgs.mkShell {
17 buildInputs = [
18 vite.packages.${system}.vite
19 pkgs.gotools
20 pkgs.gnumake
21 pkgs.entr
22 pkgs.awscli2
23 ];
24 };
25 }
26 );
27
28}