OwenEverbinde, 5 months ago (edited 5 months ago) I’m finding some details in this stackoverflow question According to the question’s first comment, Those default arguments get filled in when you’re invoked with pkgs.callPackage, but nix-build doesn’t do that. – Charles Duffy Dec 2, 2022 at 16:05 Then one of the answers says: This worked for me: nix-build -E ‘with import {}; callPackage ./default.nix {}’ Definitely try this more complicated nix-build command. I don’t currently have a NixOS system myself, though, so I’m not really able to test it out. I switched back to Debian because it’s more user friendly and I’m not quite ready for NixOS.
I’m finding some details in this stackoverflow question
According to the question’s first comment,
Those default arguments get filled in when you’re invoked with pkgs.callPackage, but nix-build doesn’t do that. –
Charles Duffy Dec 2, 2022 at 16:05
Then one of the answers says:
This worked for me:
nix-build -E ‘with import {}; callPackage ./default.nix {}’
Definitely try this more complicated nix-build command.
I don’t currently have a NixOS system myself, though, so I’m not really able to test it out. I switched back to Debian because it’s more user friendly and I’m not quite ready for NixOS.