about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ci.nix18
-rwxr-xr-xjustfile2
-rw-r--r--shell.nix3
3 files changed, 19 insertions, 4 deletions
diff --git a/ci.nix b/ci.nix
new file mode 100644
index 0000000..33b514d
--- /dev/null
+++ b/ci.nix
@@ -0,0 +1,18 @@
+{ pkgs ? (
+    let
+      sources = import ./npins;
+    in
+    import sources.nixpkgs { }
+  )
+}:
+pkgs.mkShell {
+  packages = with pkgs; [
+    go
+    templ
+    hyperlink
+    just
+
+    ko
+    flyctl
+  ];
+}
diff --git a/justfile b/justfile
index aab1b65..9c02f31 100755
--- a/justfile
+++ b/justfile
@@ -1,5 +1,5 @@
 #!/usr/bin/env cached-nix-shell
-#!nix-shell -i "just --justfile"
+#!nix-shell ci.nix -i "just --justfile"
 
 docker_registry := "registry.fly.io/alanpearce-eu"
 listen_address := env_var_or_default("LISTEN_ADDRESS", "::1")
diff --git a/shell.nix b/shell.nix
index 118b942..4b62685 100644
--- a/shell.nix
+++ b/shell.nix
@@ -21,8 +21,5 @@ pkgs.mkShell {
     systemfd
     just
     modd
-
-    ko
-    flyctl
   ];
 }