Follow nixos-unstable in check / build base image, to get nix
version 2.5+ with accept-flake-config flag, see:30496af598
c52fdf233b/images/nix-flakes/default.nix (L7)
https://github.com/NixOS/nixpkgs/blob/release-21.11/pkgs/top-level/aliases.nix#L603 https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/top-level/aliases.nix#L665 https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L66
This commit is contained in:
parent
29bea44c6c
commit
1bd3019ca5
|
@ -94,7 +94,7 @@ name: Check
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Check"
|
- name: "Check"
|
||||||
image: docker.nix-community.org/nixpkgs/nix-flakes:nixos-21.11
|
image: docker.nix-community.org/nixpkgs/nix-flakes:latest
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
@ -112,7 +112,7 @@ name: Publish ISO
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Build ISO"
|
- name: "Build ISO"
|
||||||
image: docker.nix-community.org/nixpkgs/nix-flakes:nixos-21.11
|
image: docker.nix-community.org/nixpkgs/nix-flakes:latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: nix-store
|
- name: nix-store
|
||||||
path: /var/nix/iso-cache
|
path: /var/nix/iso-cache
|
||||||
|
@ -152,6 +152,6 @@ volumes:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 346cb05688f3b2aee03820aff82f0b16bb04759cd3948109f6496f87a5f18319
|
hmac: c25dac3dfd8dd9b46394fb3cd0313c3bccc81cbee10ab9f281a15eb4ac455cd0
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue