Stream: nix

Topic: flake


view this post on Zulip Tamil Selvan (Mar 20 2024 at 09:01):

Is there any support for flake inputs to have expressions in decl?

inputs = {
      var1.url =  ("string1" + "string2");
};

Expressions like these throw a thunk error and I am unable to force evaluate it

view this post on Zulip Tim DeHerrera (Mar 20 2024 at 12:18):

inputs.${var1}.url = # ...

view this post on Zulip Tim DeHerrera (Mar 20 2024 at 12:19):

However, this won't work in flake inputs. No eval of any kind is allowed in inputs unfortunately. It's a stricter subset of Nix, technically


Last updated: Nov 15 2024 at 12:33 UTC