ci: test using lix on teh runner

Relates to #81

Also bump the base image to teh latest alpine
This commit is contained in:
silver 2024-07-20 12:20:36 +01:00
parent 2a949f8e82
commit a4d83fde50
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

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