I’m trying to create a semi-flexible system to allow me to have my own derivations in my flake system configuration. Unfortunately I get this error: http://0x0.st/H7NL.txt
The file it points to: https://github.com/diniamo/niqs/blob/a490c410740a498f31501d8d3541e701709c8b13/packages/default.nix
The place its imported from: https://github.com/diniamo/niqs/blob/a490c410740a498f31501d8d3541e701709c8b13/lib/builders.nix#L15
I have tried separating pkgs to its own variable, and inheriting that when passing (as suggested by someone I’ve already asked about this), but it didn’t change anything. Eg.:
pkgs = inputs.nixpkgs.legacyPackages.${system};
customPkgs = import ../packages {inherit pkgs;};