!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

877 Members
180 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Mar 2025
@emilazy:matrix.orgemilywonder if that's a bug11:38:24
@morgrimm:matrix.orgremi-gelinas In flake.nix? That's expected, it's not a real Nix file 11:39:00
@elikoga:matrix.orgelikoga There's quite a bit of restrictions on the flake.nix format that people complain about sometimes 11:39:06
@emilazy:matrix.orgemily for inputs I expect that by now, yes 11:39:10
@emilazy:matrix.orgemily for outputs I don't think there is any rational point 11:39:16
@emilazy:matrix.orgemilyand the error seems like it's probably just an implementation bug11:39:24
@emilazy:matrix.orgemily("expected a function but got a thunk")11:39:31
@elikoga:matrix.orgelikoga No that sounds like the format restriction+bad error messages 11:39:46
@emilazy:matrix.orgemily oh, I guess it's because outputs's arguments get introspected to define inputs 🙃 11:39:47
@emilazy:matrix.orgemilywhen you don't explicitly list them11:39:56
@emilazy:matrix.orgemily(and it uses the registry inputs, which are pinned by default in some setups, so pretty footgunny)11:40:11
@elikoga:matrix.orgelikogaThere was a little bit of a change wrt registry inputs recently one sec11:40:32

Show newer messages


Back to Room ListRoom Version: 6