Re:So you want to write a package manager
by Ericson2314 on Saturday February 13, 2016 @08:44PM
(#11096716)
nixos.org it's been done please use it.
[ Parent
| on HN ]
Re:So you want to write a package manager
by scrollaway on Saturday February 13, 2016 @08:53PM
(#11096744)
Nix is not even sort of a generic package manager in the sense of actual package management. It's a system package manager.
Try to host your game's addons in a nix repository, see how well that goes...
http://nixos.org/nix/manual/#sec-one-click
Also, I'm curious as to what you mean by "system package manager" when nix explicitly supports installation of software by unprivileged users (the packages only get linked to from the users profile, so it's safe). I also run nix under debian a lot very successfully.
Re:So you want to write a package manager
by Ericson2314 on Sunday February 14, 2016 @03:32PM
(#11099857)
"system package manager" is a meaningless distinction.
If you want the game to load/unload addons at runtime, rather than just wrap the games executable with flags, then yes you have to learn to talk to nix daemon directly which is a bit more work. But do that and things will still work just fine.