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";