News for hackers. Stuff that matters.
Re:Recent version of Handbrake download infected with malware by Profpatsch on Saturday May 06, 2017 @08:17PM (#14283082)
There are no global state mutations in `pkgs`. All immutable parts are in `impure.nix`, which already has a complete `pkgs`.

Maybe you are confusing state mutations with fixed points, which are used extensively (thankfully).

Re:Recent version of Handbrake download infected with malware by drawnwren on Saturday May 06, 2017 @09:16PM (#14283303)
There are no global state mutations in pkgs until you need a custom package, and then you're overriding the global state with your own custom state.
Re:Recent version of Handbrake download infected with malware by vertex-four on Sunday May 07, 2017 @05:02AM (#14284546)
That does not modify global state - it creates a new state from the old one + your modifications.
Re:Recent version of Handbrake download infected with malware by dom0 on Sunday May 07, 2017 @05:24AM (#14284600)
In other words, it modifies global state.
Re:Recent version of Handbrake download infected with malware by vertex-four on Sunday May 07, 2017 @05:38AM (#14284639)
I expect that your issue is more with the fact that there is a mega state object that contains almost everything - not that it is somehow global, which it isn't. You can't access it unless it is passed to you.