When building, I get:
warning: Git tree '/home/b0ef/proj/2025-07-04.nixos-rpi/nixos-raspberrypi' is dirty
warning: ignoring untrusted substituter 'https://nixos-raspberrypi.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
evaluating derivation 'git+file:///home/b0ef/proj/2025-07-04.nixos-rpi/nixos-raspberrypi#installerImagevaluating derivation 'git+file:///home/b0ef/proj/2025-07-04.nixos-rpi/nixos-raspberrypi#installerImag[1/3/1[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (configurePhase): [1/3/14 b[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (configurePhase[1/3/14 buil[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase)[1/3/14 built, [1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPha[1/3/14 built, 0.0[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (build[1/3/14 built, 0.0 Mi[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase): CC ar [1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428
(buildPhase): CC ar [1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase): CC ar [1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_202[1/3/1[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase): CC[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase): CC [1/3/14 buil[1/3/14 built, 0.0 MiB DL] building linux_rpi-bcm2712-6.12.25-stable_20250428 (buildPhase): CC mm error: interrupted by the user
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
Then I added this
nix = {
settings = {
substituters = [
"https://nixos-raspberrypi.cachix.org"
];
trusted-public-keys = [
"nixos-raspberrypi.cachix.org-1:WqHCMblAqwTJrUX8wNH5AM0+I9WBZm9E9Y+lCv8nCVE="
];
};
};
And this:
nix.settings.trusted-users = [ "b0ef" ];
, but I still get:
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
nix build .#installerImages.rpi5
warning: Git tree '/home/b0ef/proj/2025-07-04.nixos-rpi/nixos-raspberrypi' is dirty
evaluating derivation 'git+file:///home/b0ef/proj/2025-07-04.nixos-rpi/nixos-raspberrypi#installerImages evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
evaluation warning: substituteAll is deprecated and will be removed in 25.11. Use replaceVars instead.
warning: ignoring substitute for '/nix/store/wk1bsphmaqf5b0ssbkscfxca6070x4xa-initrd-linux_rpi-bcm2712-6.12.25-stable_20250428' from 'https://nixos-raspberrypi.cachix.org', as it's not signed by any of the keys in 'trusted-public-keys'
warning: ignoring substitute for '/nix/store/vkzx84binw87abb515wk80r63zpi7zad-linux_rpi-bcm2712-6.12.25-stable_20250428' from 'https://nixos-raspberrypi.cachix.org', as it's not signed by any of the keys in 'trusted-public-keys'
warning: ignoring substitute for '/nix/store/y1l4ql4l09n7skqca0kndd4myg0p40zh-zfs-kernel-2.3.2-6.12.25-stable_20250428' from 'https://nixos-raspberrypi.cachix.org', as it's not signed by any of the keys in 'trusted-public-keys'
warning: ignoring substitute for '/nix/store/z445844l81dibckix1jp1kdbi1vnvm8b-linux_rpi-bcm2712-6.12.25-stable_20250428-modules-shrunk' from 'https://nixos-raspberrypi.cachix.org', as it's not signed by any of the keys in 'trusted-public-keys'
[1/0/11 built] building linux_rpi-bcm2712-6.12.25-stable_20250428 (unpackPhase): unpacking source archiv error: interrupted by the user
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
nix show-config | grep trusted-users
warning: 'show-config' is a deprecated alias for 'config show'
trusted-users = root b0ef
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
nix show-config | grep -E "substituters|trusted-public-keys"
warning: 'show-config' is a deprecated alias for 'config show'
substituters = https://nixos-raspberrypi.cachix.org https://cache.nixos.org/
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixos-raspberrypi.cachix.org-1:WqHCMblAqwTJrUX8wNH5AM0+I9WBZm9E9Y+lCv8nCVE=
trusted-substituters =
b0ef $ ~/proj/2025-07-04.nixos-rpi/nixos-raspberrypi >
I wonder, can it be somehow stuck from when I tried to build without the substituters? Can I do a “clean”, somehow? Not really sure what to do here;)