Skip to content

Please write a proper guide on using buildFHSEnv as some binaries only work with that (not all can be patched) #1168

@adam248

Description

@adam248

Learning goals

Describe when and when not to use buildFHSEnv for official contributions, but also general guide on how to use it and why it is considered a "shortcut" most times in the Nix eco system.

Prerequisites
This is more a standalone, so maybe more in the guides section?

Outline

Mainly just the use of FHSEnv in packaging or patching software to get working. How to just get unique software working (that is not already packaged in nixpkgs)

Prior art

https://discourse.nixos.org/t/trying-to-contribute-to-nixpkgs-but-only-buildfhsenv-works-for-binary/36579

Willing to help?

Sure, just ping me if you need me to proof read.

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tutorialTopics for new tutorials

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions