From 313f62584d7e5b59b9322442d0ee07a7526a0324 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 28 Jun 2024 17:07:57 +0200 Subject: use a smaller shell for CI --- ci.nix | 18 ++++++++++++++++++ justfile | 2 +- shell.nix | 3 --- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 ci.nix 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 ]; } -- cgit 1.4.1