From b1deb51c1501d1e9b649d10b5a1fdf929160528e Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 27 May 2022 23:41:18 -0400 Subject: [PATCH] Use unstable nix for base of runner --- system-specific/oracles/gitlab-runner.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-specific/oracles/gitlab-runner.nix b/system-specific/oracles/gitlab-runner.nix index 0f7f971..001f283 100644 --- a/system-specific/oracles/gitlab-runner.nix +++ b/system-specific/oracles/gitlab-runner.nix @@ -14,7 +14,7 @@ services.gitlab-runner = let nix-shared = with lib; { - dockerImage = "alpine"; + dockerImage = "alpine:latest"; dockerVolumes = [ "/nix/store:/nix/store:ro" "/nix/var/nix/db:/nix/var/nix/db:ro" @@ -33,7 +33,7 @@ mkdir -p -m 0755 /nix/var/nix/profiles/per-user/root mkdir -p -m 0700 "$HOME/.nix-defexpr" . ${pkgs.nix}/etc/profile.d/nix.sh - ${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixos-21.05 nixpkgs # 3 + ${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs # 3 ${pkgs.nix}/bin/nix-channel --update nixpkgs ${pkgs.nix}/bin/nix-env -i ${concatStringsSep " " (with pkgs; [ nixUnstable cacert git openssh ])} '';