You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to provide a way to bundle deb/rpm/… packages. While nix's derivation are made to work when running in /nix/store, I guess in 95% of the cases we can easily "unpatch" them to run in a regular FHS path, by removing RPATH, wrappers, and by patching back elf files to point to /lib. And dependencies could be obtained by reading some database, similar to how nix-index works bbut for other systems… or by manually listing them or using passthru.
It would be great to provide a way to bundle deb/rpm/… packages. While nix's derivation are made to work when running in
/nix/store
, I guess in 95% of the cases we can easily "unpatch" them to run in a regular FHS path, by removing RPATH, wrappers, and by patching back elf files to point to /lib. And dependencies could be obtained by reading some database, similar to how nix-index works bbut for other systems… or by manually listing them or using passthru.This could provide a huge value to Nix as discussed here https://discourse.nixos.org/t/automatically-generating-deb-packages-from-nixpkgs/25420/18
The text was updated successfully, but these errors were encountered: