3 ms·
"patching upstream" in this context means "applying patches to the upstream during packaging". Nix and Guix require programs to work with a directory layout th
by jorams 10y ago
"patching upstream" in this context means "applying patches to the upstream during packaging".
Nix and Guix require programs to work with a directory layout that differs significantly from the standard. Simple things like `#!/bin/python` don't work anymore, because they aren't explicit enough.
- mbrock 10y agoYeah, thanks. To add to that, the Nixpkgs "standard library" includes lots of convenient tools for patching like this, and much of the common stuff is done automatically by the standard package function. The #nixos IRC channel is a good place to ask if you run into trouble when packaging something. Generally, making NixOS packages is really delightful. Even the patching stuff is straightforward and easy to use. Now that I've learned the basics, I routinely make small packages. With many typical packages the only thing you need to do is specify how to fetch the source, plus the list of build dependencies, and there are built-in functions for fetching from HTTPS or Git.
- radarsat1 10y agoAh ok, that clarifies things. Thanks.