4 ms·
You can also do this in nix. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/replace-dependency.nix https://github.com/NixOS/nixpkgs/blob/maste
by georgyo 6y ago
You can also do this in nix.
https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/replace-dependency.nix https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...
- mbakke 6y agoOh, cool. I don't see it being used anywhere though, apart from being available as a system activation function? In Guix grafts are used rather extensively, mainly for security updates, but also command-line transformations such as "--with-debug-info".
- deleted 6y ago[deleted]
- civodul 6y agoIt wouldn't be a nice interface for packagers to use. More importantly, it's not enough to implement grafts because it's not recursive, as discussed at https://guix.gnu.org/en/blog/2016/timely-delivery-of-security-updates/ https://guix.gnu.org/en/blog/2016/timely-delivery-of-securit... .