t2linux/nixos-t2-iso

Issues with nixos-hardware

Closed this issue · 1 comments

Hello, I have to write the issue here since issues aren't enabled on nixos-hardware.
I'm having the issue that when building the system it fails with this error:

error: Function called without required argument "fetchPartial" at /nix/store/q6l1by06ihnxx6irw6ifyylr2wgkllam-source/apple/t2/pkgs/t2-firmware.nix:1
(use '--show-trace' to show detailed location information)

This however only happens with my own custom configuration, not with the "normal" /etc/nixos/configuration.nix.
Said custom configuration can be found in https://gitlab.com/obsidianical/nix-configs, the relevant files (to my knowledge) are my flake.nix and the configuration.nix.

The error suggests there's something wrong with your fork of nixos-hardware, which doesn't make sense considering it builds in the "normal" configuration.nix, but I'm also running out of ideas to fix this myself.

You should use the add-fetchpartial branch of my nixpkgs fork. This is already noted in the README.