summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-10-28 18:32:55 +0300
committerK900 <me@0upti.me>2024-11-04 10:13:04 +0300
commita182a53243828257018c6ef4c7d2edbe89fd63e5 (patch)
tree4c0be9f96fbd421ccb81dc77deb6b28fa702e8df /pkgs/development/python-modules/rangehttpserver
parentccac709d91cefd89f44d7dbd1082e4a65cc8e017 (diff)
buildFHSEnv: rewrite env building
This replaces the mess of buildEnvs with a single Rust binary that spits out a mostly-complete root filesystem for an fhsenv. The main goal is to have includeClosures, as we want all of the dependencies to be in the fhsenv to avoid Steam's (and others') LD_LIBRARY_PATH shenanigans, but without 32-bit libraries leaking into lib64 when a 64-bit package like mangohud depends on a 32-bit version of itself. We "fix" this by actually looking at the files and explicitly moving 32-bit stuff to $out/lib32. This could be avoided if we had recursive Nix, or at least system info in exportReferencesGraph, but alas. For some reason this also shrinks the fhsenvs massively, even though there's currently no layout optimization (e.g. a package with paths like lib/foo/{bar,baz} will produce two symlinks in the output, even when it's more optimal to symlink lib/foo to $out/lib/foo directly).
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions