Skip to content

Export to .deb, .rpm… #93

@tobiasBora

Description

@tobiasBora

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions