Thank you dor addin the edit to the top. It helped me too!
NixOS
NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.
This community discusses NixOS, Nix, and everything related.
Every time I help another Linux user, I grow one more hair towards my wizard beard
I bet you already look like papa Marx
You'll get back to it, I'm pretty sure.
Yeah, going directly from Windows to NixOS is a harsh transition.
I've been running an Ubuntu base for years, but windows kept overwriting the boot loader so I finally cracked. Been wanting to switch to Debian for a while and nix seemed desirable for its functional design paradigm
Oh, you're coming from Ubuntu! That's a much more manageable transition.
It's gonna be a long transition haha, but I've learned a lot about OSs over the years just using CLI in Ubuntu, I'm looking forward to nix as something I'll struggle with for the next few years haha
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.