<niksnut>
this is the main goal for the next iteration of flakes
<arianvp>
cool. but wouldn't it already be a net-plus to use module system for packages; even without native language support for module-like semantics?
<niksnut>
well, nix evaluation is already slow enough as is
<Mic92>
julm: the weird thing is that there is no trailing whitespace on this line.
<niksnut>
that's the other reason for why we're not doing it :-)
<arianvp>
hmm but would it make it faster or slower in this case? All these packages having to keep references to their inputs sounds slower than having just a single fixpoint ?
<arianvp>
I dont have enough context to have a good intuition about this
<Mic92>
julm: there was, but no longer.
<Mic92>
I think this will not a big problem in future when all PRs will go through this check.
<niksnut>
arianvp: currently, to get e.g. the 'name' attribute of a derivation, it's pretty straightforward
<niksnut>
with the module system, you have to do a whole module system evaluation which is much more work
<niksnut>
so my guess is that a command like nix-env -qa would be many times slower and use even more (non-garbage-collectible) memory
<arianvp>
hmm yeh
<Mic92>
Appearantly a lot of objects created during evaluation look like this: { name: ""; value: ""; }, which could be replaced by a more efficient data structure.
<arianvp>
sometimes i doubt whether the module system is the right design though. One big namespace of globally accessible variables might lead to soup
<arianvp>
but I guess that's also currently how callPackage works ...
<arianvp>
idk; food for thought
<arianvp>
dont have the right answers
<arianvp>
(Context; I'm working on a nix-based OS and was wondering whether I want to use module system at all; or something different)
<Mic92>
I think it would be less worse if they had a module could only access other module options they had imported them upfront.
<arianvp>
ah yeh; that's what I miss.
<arianvp>
I'd like
<niksnut>
well, the way we're using the module system is not the right approach
<arianvp>
{ nginx, postgres, systemd}: { ... my config here }
<arianvp>
instead of { config} : { my config here }
<arianvp>
that way you have some guarantees on what your module can use and what not
<arianvp>
and you could probably come up with some more efficient evaluation; as not every module needs access to the entire set
<arianvp>
so you can do some kind of graph
<Mic92>
And than even paralalize it by treating it as a graph reduction problem.
<srhb>
domenkozar[m]: Under mvn2nix, it says "NIx" instead of "Nix"
<srhb>
That's about the only nit I can find :-P
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<domenkozar[m]>
thanks!
<adisbladis>
LGTM
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<makefu>
the quotes of albert einsteins quote should end before the - not after the name, no?
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
jonringer has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<lovesegfault>
domenkozar[m]: You are correct, it's fixed on master :)
<lovesegfault>
I confused my nixpkgs hashes
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<manveru>
domenkozar[m]: busy week :D
AlwaysLivid has quit [Ping timeout: 265 seconds]
AlwaysLivid has joined #nixos-dev
<domenkozar[m]>
hehe
rajivr has quit [Quit: Connection closed for inactivity]
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
__monty__ has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
obadz has quit [Ping timeout: 256 seconds]
obadz has joined #nixos-dev
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
alp has joined #nixos-dev
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Remote host closed the connection]
alp has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.7.1]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
lewo` has joined #nixos-dev
lewo has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Remote host closed the connection]
<m1cr0man>
Hey folks. I've done a massive rewrite of the acme module which addresses all the issues I could find on the github and that the acme subteam is aware of. However, it's been getting stale and hasn't received much reviews. If anyone has familiarity with httpd/nginx modules I would appreciate a review since it involves changes there. https://github.com/NixOS/nixpkgs/pull/91121
<m1cr0man>
I'm also looking for help wrt assertions on submodules. There's some commented out attempts in there whilst I wait for someone who knows about that to have a look.
<infinisil>
m1cr0man: Unfortunately there's no easy way to have submodule assertions currently. I am however looking into making that possible
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
<m1cr0man>
infinisil: Ok that's great to hear. I think I have added sufficient working submodule assertions for now.
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
AlwaysLivid has quit [Read error: Connection reset by peer]
AlwaysLivid has joined #nixos-dev
__monty__ has quit [Quit: leaving]
orivej has quit [Read error: Connection reset by peer]
AlwaysLivid has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
tdeo has quit [Read error: Connection reset by peer]