From a4d83fde501ea7c0c0ccc630d3eacaf22a4201ad Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 20 Jul 2024 12:20:36 +0100 Subject: [PATCH] ci: test using lix on teh runner Relates to #81 Also bump the base image to teh latest alpine --- applications/gitlab_runner.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/applications/gitlab_runner.nix b/applications/gitlab_runner.nix index dc642cf..13d296a 100644 --- a/applications/gitlab_runner.nix +++ b/applications/gitlab_runner.nix @@ -31,7 +31,7 @@ in { docker = { image = mkOption { - default = "alpine:3.18.4"; + default = "alpine:latest"; type = types.str; }; @@ -95,9 +95,10 @@ in { mkdir -p -m 0755 /nix/var/nix/profiles/per-user/root mkdir -p -m 0700 "$HOME/.nix-defexpr" . ${pkgs.nix}/etc/profile.d/nix-daemon.sh - ${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs # 3 + ${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs ${pkgs.nix}/bin/nix-channel --update nixpkgs - ${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [nix cacert git openssh])} + ${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [lix cacert git openssh])} + nix --version ''; environmentVariables = { ENV = "/etc/profile";