Commit Graph
845567 Commits
Author SHA1 Message Date
Kamil Zaripov 4f2f8faa7f check-meta: Clarify error message about unsupported platform
Right now if you are specifying supported platforms using meta.platforms
you can get a bit misleading error message:

    $ nix-build default.nix
    error:
          … in the condition of the assert statement
            at /nix/store/53pzmaza73pl8q2yl1q62h7ncx21nxc1-source/lib/customisation.nix:419:9:
              418|       drvPath =
              419|         assert condition;
                |         ^
              420|         drv.drvPath;

          … while evaluating the attribute 'handled'
            at /nix/store/53pzmaza73pl8q2yl1q62h7ncx21nxc1-source/pkgs/stdenv/generic/check-meta.nix:643:9:
              642|         # or, alternatively, just output a warning message.
              643|         handled = (
                |         ^
              644|           if valid == "yes" then

          (stack trace truncated; use '--show-trace' to show the full, detailed trace)

          error: Package ‘test’ in /home/kamil/code/test/default.nix:3 is not available on the requested hostPlatform:
            hostPlatform.config = "aarch64-none-elf"
            package.meta.platforms = [
              "aarch64-none-elf"
            ]
            package.meta.badPlatforms = [ ]
          , refusing to evaluate.

          a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
              for a single invocation of the nix tools.

                $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

              Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                    then pass `--impure` in order to allow use of environment variables.

          b) For `nixos-rebuild` you can set
            { nixpkgs.config.allowUnsupportedSystem = true; }
          in configuration.nix to override this.

          c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
            { allowUnsupportedSystem = true; }
          to ~/.config/nixpkgs/config.nix.

It is not clear why this derivation cannot be built for
"aarch64-none-elf" target since error message list this triplet in
package.meta.platforms right below hostPlatform.config. The issue is that
package.meta.platforms is checked against hostPlatform.system field, not
hostPlatform.config field:
https://github.com/NixOS/nixpkgs/blob/b134951a4c9f3c995fd7be05f3243f8ecd65d798/lib/meta.nix#L103
And in this case hostPlatform.system is "aarch64-none" while
hostPlatform.config is "aarch64-none-efi".

I think that it would be better to print hostPlatform.system in error
message.
2025-08-16 22:26:25 +03:00
SandroandGitHub 1f5f5ac80b flameshot: 12.1.0-unstable-2025-05-04 -> 13.0.1 (#431307) 2025-08-16 20:58:43 +02:00
a3a8510e74 gat: 0.24.1 -> 0.25.0 (#434162)
Co-authored-by: TheMaxMur <TheMaxMur@users.noreply.github.com>
2025-08-16 18:53:47 +00:00
Martin WeineltandGitHub e2b334f6d7 python3Packages.pyW800rf32: init at 0.4 (#434271) 2025-08-16 20:53:11 +02:00
Martin WeineltandGitHub d2b1651fa3 python3Packages.pilight: init at 0.1.1 (#434151) 2025-08-16 20:51:46 +02:00
69a722c529 gitlab-timelogs: 0.5.0 -> 0.6.0 (#434245)
Co-authored-by: phip1611 <phip1611@gmail.com>
2025-08-16 18:50:18 +00:00
Martin WeineltandGitHub 7a0206de19 python3Packages.python-gc100: init at 1.0.3a0 (#434149) 2025-08-16 20:49:14 +02:00
Martin WeineltandGitHub ffd057944c python3Packages.pysmarty2: init at 0.10.2 (#434148) 2025-08-16 20:47:57 +02:00
Martin WeineltandGitHub f780998c04 python3Packages.neurio: init at 0.3.1 (#434145) 2025-08-16 20:46:32 +02:00
Martin WeineltandGitHub 35659687e2 python3Packages.russound: init at 0.1.8 (#434143) 2025-08-16 20:45:55 +02:00
SandroandGitHub 48ce06dd94 nextcloud-client: 3.16.6 -> 3.17.0 (#433415) 2025-08-16 20:12:06 +02:00
Philip TaronandGitHub a05a770b95 calamares-nixos-extensions: shrink assets (#434243) 2025-08-16 11:04:20 -07:00
Martin WeineltandGitHub 6d2889c37c evcc: 0.207.2 -> 0.207.3 (#434079) 2025-08-16 20:02:43 +02:00
isabelandGitHub 4ff7ee96bf nixos/nginx: add prependConfig options (#416411) 2025-08-16 18:55:51 +01:00
b7994c7f12 fiddler-everywhere: 7.1.0 -> 7.2.0 (#434214)
Co-authored-by: RoGreat <RoGreat@users.noreply.github.com>
2025-08-16 17:54:05 +00:00
Doron BeharandGitHub 940ec0450b rpi-imager: add gappsWrapperArgs - for opening file dialogs (#433399) 2025-08-16 20:39:57 +03:00
Doron BeharandGitHub 76763c7da3 bmaptool: 3.8.0 -> 3.9.0 (#433408) 2025-08-16 20:23:46 +03:00
SandroandGitHub 569c629809 netbird: adjust updateScript & ofborg builds (#433303) 2025-08-16 19:22:58 +02:00
Jamie Magee 524cd23a97 home-assistant: update component packages 2025-08-16 10:06:42 -07:00
Jamie Magee 820dcf0439 python3Packages.pyW800rf32: init at 0.4 2025-08-16 10:05:40 -07:00
Franz PletzandGitHub 4ac48dd7c9 mirrorbits: 0.6 -> 0.6.1 (#434167) 2025-08-16 18:58:24 +02:00
SandroandGitHub 853d8d0ec0 trufflehog: 3.90.4 -> 3.90.5 (#434170) 2025-08-16 18:46:39 +02:00
SandroandGitHub 00a1cc382b codex: 0.21.0 -> 0.22.0 (#434212) 2025-08-16 18:45:30 +02:00
SandroandGitHub 864c8cf26d ncdu: 2.8.2 -> 2.9 (#434219) 2025-08-16 18:37:26 +02:00
SandroandGitHub 68de9c5ff0 cargo-plumbing: init at 0.0.3 (#434177) 2025-08-16 18:26:04 +02:00
SandroandGitHub e01f81d62f gallery-dl: 1.30.2 -> 1.30.3, add maintainer donteatoreo (#434034) 2025-08-16 18:22:53 +02:00
SandroandGitHub 2e11f2e4a7 chatzone-desktop: 5.3.2 -> 5.4.1 (#434236) 2025-08-16 18:17:43 +02:00
7037d9a4ef phpunit: 12.3.0 -> 12.3.5 (#434252)
Co-authored-by: piotrkwiecinski <piotrkwiecinski@users.noreply.github.com>
2025-08-16 16:01:17 +00:00
John Titor 4f59d136d9 limine: no need for unwrapped clang anymore
According to the latest changelog: https://github.com/limine-bootloader/limine/compare/v9.5.2...v9.6.0
2025-08-16 21:27:26 +05:30
John Titor a461d7e466 limine: 9.5.4 -> 9.6.1 2025-08-16 21:27:26 +05:30
SandroandGitHub 59ae03950f sshuttle: 1.3.1 → 1.3.2 (#434047) 2025-08-16 17:52:47 +02:00
Martin WeineltandGitHub 2f75dfab83 home-assistant: 2025.8.1 -> 2025.8.2 (#434078) 2025-08-16 17:48:49 +02:00
Bobby RongandGitHub 65062a5946 Xfce updates 2025-08-15 (#434007) 2025-08-16 23:48:40 +08:00
Felix BargfeldtandGitHub c0593e45a2 wofi-power-menu: 0.3.0 -> 0.3.1, use makeBinaryWrapper (#434220) 2025-08-16 17:26:48 +02:00
Yohann BonifaceandGitHub 57264fd019 kopia: 0.20.1 -> 0.21.1 (#429323) 2025-08-16 17:24:26 +02:00
Felix BargfeldtandGitHub d398cf5ff3 fastfetch: 2.50.1 -> 2.50.2 (#434251) 2025-08-16 17:20:33 +02:00
dishandGitHub fa27a499d3 lux-cli: 0.13.3 -> 0.15.1 (#434124) 2025-08-16 11:09:21 -04:00
dishandGitHub d757bad6b3 python313Packages.highdicom: 0.25.1 -> 0.26.1 (#434242) 2025-08-16 11:08:58 -04:00
dishandGitHub b24497ba58 bitwig-studio: 5.3.11 -> 5.3.13 (#434239) 2025-08-16 11:07:54 -04:00
dishandGitHub e20518671e gridtracker2: 2.250507.0 -> 2.250809.0 (#432617) 2025-08-16 11:06:38 -04:00
Austin Horstman ebfb49f0c7 fastfetch: 2.50.1 -> 2.50.2
Changelog: https://github.com/fastfetch-cli/fastfetch/releases/tag/2.50.2
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-16 10:01:57 -05:00
R. Ryantm 7510637609 phpunit: 12.3.0 -> 12.3.5 2025-08-16 14:57:15 +00:00
dishandGitHub 5d2752ffef rst2pdf: fix build failure (#433143) 2025-08-16 10:53:21 -04:00
R. RyantmandAnthony Roussel fa36c50a7d python3Packages.oslo-db: 17.3.0 -> 17.4.0 2025-08-16 16:50:27 +02:00
Austin HorstmanandGitHub e87049256b fastfetch: 2.49.0 -> 2.50.1 (#433628) 2025-08-16 09:26:30 -05:00
K900 c1cff8190f calamares-nixos-extensions: shrink assets
Remove Lumina because it compresses awfully and is currently unused.
All other images: magick mogrify -resize 1920x1080 -format jpg -quality 80 *.png
2025-08-16 17:24:58 +03:00
Ben Darwin 0272b5951c python313Packages.highdicom: 0.25.1 -> 0.26.1 2025-08-16 10:23:31 -04:00
R. Ryantm d84fd4a07e gitlab-timelogs: 0.5.0 -> 0.6.0 2025-08-16 14:19:38 +00:00
Wolfgang WaltherandGitHub b0c7063728 grml-zsh-config: 0.19.23 -> 0.19.24 (#434227) 2025-08-16 14:19:09 +00:00
Bernard Fortz 83df09ae87 bitwig-studio: 5.3.11 -> 5.3.13 2025-08-16 16:05:58 +02:00