Compare commits

..

No commits in common. "64a3352bbfcca09a04774880951b0030e8f01409" and "35b2808180ea072d0f200cedd6abff43ae95c00e" have entirely different histories.

11 changed files with 17 additions and 40 deletions

View file

@ -17,7 +17,8 @@ jobs:
matrix: matrix:
channel: channel:
- nixos-unstable - nixos-unstable
- nixos-25.05 - nixos-24.05
- nixos-24.11
system: system:
- aarch64-linux - aarch64-linux
- x86_64-linux - x86_64-linux
@ -64,7 +65,8 @@ jobs:
matrix: matrix:
channel: channel:
- nixos-unstable - nixos-unstable
- nixos-25.05 - nixos-24.05
- nixos-24.11
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -10,4 +10,5 @@ build:
- NIXPKGS_CHANNEL: nixos-unstable - NIXPKGS_CHANNEL: nixos-unstable
IMAGE_TAG: latest IMAGE_TAG: latest
- NIXPKGS_CHANNEL: - NIXPKGS_CHANNEL:
- nixos-25.05 - nixos-24.05
- nixos-24.11

View file

@ -39,7 +39,8 @@ nixpkgs channel describes.
| Channel | Image Tag | Description | | Channel | Image Tag | Description |
| --- | --- | --- | | --- | --- | --- |
| nixos-25.05 | nixos-25.05 | only minor versions that include security updates | | nixos-24.05 | nixos-24.05 | only minor versions that include security updates |
| nixos-24.11 | nixos-24.11 | only minor versions that include security updates |
| nixos-unstable | latest | latest and greatest, major versions might change | | nixos-unstable | latest | latest and greatest, major versions might change |
## List of images ## List of images

View file

@ -1,10 +0,0 @@
{ docker-nixpkgs
, attic-client
}:
(docker-nixpkgs.nix.override {
extraContents = [ attic-client ];
}).overrideAttrs (prev: {
meta = (prev.meta or { }) // {
description = "Nix and Attic client image";
};
})

View file

@ -14,7 +14,7 @@
, gnutar , gnutar
, gzip , gzip
, iana-etc , iana-etc
, iproute2 , iproute
, less , less
, lib , lib
, nix , nix
@ -42,11 +42,7 @@ let
nix nix
# runtime dependencies of nix # runtime dependencies of nix
# HACK: don't include the "hashed" output. It has overlapping files with cacert
# the "unbundled" output, and that breaks the build.
(cacert // {
outputs = builtins.filter (x: x != "hashed") cacert.outputs;
})
gitReallyMinimal gitReallyMinimal
gnutar gnutar
gzip gzip
@ -65,7 +61,7 @@ let
(gcc-unwrapped // { (gcc-unwrapped // {
outputs = builtins.filter (x: x != "libgcc") gcc-unwrapped.outputs; outputs = builtins.filter (x: x != "libgcc") gcc-unwrapped.outputs;
}) })
iproute2 iproute
]; ];
}; };

View file

@ -3,7 +3,7 @@
}: }:
(docker-nixpkgs.nix.override { (docker-nixpkgs.nix.override {
# only available since 24.05 # only available since 24.05
extraContents = [ devenv ]; extraContents = if devenv == null then [] else [ devenv ];
}).overrideAttrs (prev: { }).overrideAttrs (prev: {
meta = (prev.meta or { }) // { meta = (prev.meta or { }) // {
description = "Nix and devenv image"; description = "Nix and devenv image";

View file

@ -1,6 +0,0 @@
{ buildCLIImage
, maddy
}:
buildCLIImage {
drv = maddy;
}

View file

@ -1,10 +1,10 @@
{ docker-nixpkgs { docker-nixpkgs
, nixVersions , nixFlakes
, writeTextFile , writeTextFile
, extraContents ? [ ] , extraContents ? [ ]
}: }:
docker-nixpkgs.nix.override { docker-nixpkgs.nix.override {
nix = nixVersions.stable; nix = nixFlakes;
extraContents = [ extraContents = [
(writeTextFile { (writeTextFile {
name = "nix.conf"; name = "nix.conf";
@ -12,7 +12,6 @@ docker-nixpkgs.nix.override {
text = '' text = ''
accept-flake-config = true accept-flake-config = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
max-jobs = auto
''; '';
}) })
] ++ extraContents; ] ++ extraContents;

View file

@ -84,12 +84,11 @@ let
mkdir -p libexec/nix mkdir -p libexec/nix
ln -s /bin/nix libexec/nix/build-remote ln -s /bin/nix libexec/nix/build-remote
# Enable flakes and parallel building # Enable flakes
mkdir -p etc/nix mkdir -p etc/nix
cat <<NIX_CONFIG > etc/nix/nix.conf cat <<NIX_CONFIG > etc/nix/nix.conf
accept-flake-config = true accept-flake-config = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
max-jobs = auto
NIX_CONFIG NIX_CONFIG
# Add run-as-user script # Add run-as-user script

View file

@ -1,6 +1,7 @@
{ docker-nixpkgs { docker-nixpkgs
, pkgs , pkgs
, nixUnstable
}: }:
docker-nixpkgs.nix.override { docker-nixpkgs.nix.override {
nix = pkgs.nixVersions.latest; nix = pkgs.nixVersions.latest or pkgs.nixUnstable;
} }

View file

@ -1,6 +0,0 @@
{ buildCLIImage
, pocket-id
}:
buildCLIImage {
drv = pocket-id;
}