nixpkgs/pkgs/build-support
K900 a182a53243 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).
2024-11-04 10:13:04 +03:00
..
add-driver-runpath treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
agda treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
alternatives treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
appimage appimage-run: Add libsecret for bitwarden 2024-09-22 23:08:36 -05:00
binary-cache
bintools-wrapper Merge master into staging-next 2024-10-24 18:04:38 +00:00
build-bazel-package treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
build-fhsenv-bubblewrap buildFHSEnv: rewrite env building 2024-11-04 10:13:04 +03:00
build-fhsenv-chroot fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
build-graalvm-native-image buildGraalvmNativeImage: remove workaround for Nix environment variables 2024-10-27 12:22:37 +00:00
buildenv buildenv: don't pass null paths to writeClosure 2024-09-19 23:09:26 +03:00
cc-wrapper cc-wrapper: Use getExe for expand-response-params (#341607) 2024-10-13 21:05:11 +03:00
compress-drv compressDrv: fix a confusing comment 2024-08-21 21:52:00 +03:00
coq Merge master into staging-next 2024-09-23 12:05:36 +00:00
dart buildDartApplication: include dart SDK builder by default (#343337) 2024-10-11 20:56:17 -04:00
deterministic-uname deterministic-uname: use forPlatform for FreeBSD 2024-10-12 18:42:17 +02:00
dev-shell-tools nixosTests.docker-tools-nix-shell: Enable on aarch64-linux 2024-07-29 00:23:05 +02:00
dhall
dlang dub-to-nix: update recommended regen command 2024-09-20 23:26:41 +02:00
docker dockerTools: set mtime to epoch by default 2024-09-25 00:31:16 -04:00
dotnet nuget-to-nix: add meta.mainProgram 2024-10-09 12:33:27 +02:00
expand-response-params expand-response-params: Fix windows build and add mainProgram 2024-09-15 00:26:11 +03:00
fake-nss
fetch9front
fetchbitbucket
fetchbower
fetchbzr nix-prefetch-bzr: emit SRI hashes by default 2024-09-17 15:00:27 +00:00
fetchcvs nix-prefetch-cvs: emit SRI hashes by default 2024-09-17 15:00:28 +00:00
fetchdarcs fetchdarcs: support hash attribute 2024-09-17 15:00:28 +00:00
fetchdebianpatch
fetchdocker
fetchfirefoxaddon
fetchfossil fetchfossil: simplify and check that multiple hashes were not passed in 2024-09-17 15:00:28 +00:00
fetchgit nix-prefetch-git: fix error in home folder cleanup 2024-10-23 03:24:02 -07:00
fetchgitea
fetchgithub
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx fetchgx: support hash attribute 2024-09-17 15:00:27 +00:00
fetchhg
fetchipfs fetchipfs: simplify, error-out when given multiple hashes 2024-09-17 15:00:29 +00:00
fetchmavenartifact
fetchmtn fetchmtn: support hash attribute 2024-09-17 15:00:28 +00:00
fetchnextcloudapp fetchNextcloudApp: use fetchurl by default 2024-08-05 03:53:38 -07:00
fetchpatch fetchpatch: add patchutils to nativeBuildInputs 2024-07-01 18:09:00 +03:00
fetchpijul fetchpijul: minor simplification 2024-09-17 15:00:28 +00:00
fetchpypi
fetchpypilegacy fetchPypiLegacy: Pass cacert to enable TLS verification when username/password is used 2024-08-14 13:22:31 +12:00
fetchrepoorcz
fetchrepoproject fetchRepoProject: support hash attribute, wrapping in withnormalizedHash 2024-09-17 06:34:00 +00:00
fetchs3 fetchs3: support hash attribute 2024-09-17 15:00:27 +00:00
fetchsavannah fetchFromSavannah: add passthru.gitRepoUrl 2024-10-29 18:11:52 +08:00
fetchsourcehut
fetchsvn fetchsvn: remove with statements 2024-08-18 06:31:14 -07:00
fetchsvnrevision
fetchsvnssh fetchsvnssh: support hash attribute 2024-09-17 15:00:29 +00:00
fetchtorrent treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
fetchurl fetchurl: revert enabling TLS verification when NIX_SSL_CERT_FILE 2024-10-26 13:58:19 +02:00
fetchzip
go treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
icon-conv-tools
kernel tree-wide: switch initrd generators back to gnu cpio 2024-10-31 01:21:59 +01:00
lib
libredirect libredirect: update for new Darwin SDK on aarch64-darwin 2024-10-10 01:07:26 -04:00
make-darwin-bundle treewide: handle preDistPhases __structuredAttrs-agnostically 2024-09-03 05:33:59 +08:00
make-desktopitem fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
make-hardcode-gsettings-patch
make-pkgconfigitem treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
make-startupitem make-startupitem: fix {prepend,append}ExtraArgs for Exec without arguments 2024-08-18 12:28:06 +02:00
mitm-cache treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mkshell
mono-dll-fixer
nix-gitignore
node nodejs/importNpmLock: init source overrides option 2024-10-17 12:00:45 +02:00
nuke-references
ocaml buildDunePackage: allow overriding stdenv 2024-09-18 14:13:53 +02:00
oci-tools
php build-support/php: fix typo 2024-09-23 11:41:15 +02:00
pkg-config-wrapper
portable-service
prefer-remote-fetch
references-by-popularity
release treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
remove-references-to
replace-secret
replace-vars replaceVars: init 2024-08-07 07:27:50 -07:00
rust Merge master into staging-next 2024-10-18 00:14:07 +00:00
setup-hooks treewide: fix links to specifications.freedesktop.org (#350918) 2024-11-03 09:06:56 -08:00
singularity-tools singularity-tools: make runscript modifiable 2024-08-18 00:37:37 +08:00
src-only tests/srcOnly: init (#347548) 2024-11-01 09:13:09 -07:00
substitute substituteAll: validate arguments 2024-10-20 18:55:15 +03:00
substitute-files
testers Merge pull request #334995 from pbsds/fix-test-version-1723771306 2024-08-17 07:53:03 -07:00
trivial-builders writeShellApplication: add passthru argument 2024-11-01 17:16:58 +01:00
vm vmTools: allow qemu to be overridden via customQemu argument 2024-07-08 19:47:08 +01:00
wrapper-common
writers writers: add writeNim and writeNimBin 2024-10-05 21:33:26 +02:00
xen xen: switch to seabios-qemu, use absolute path to firmware 2024-10-18 15:53:57 +00:00
build-nim-package.nix buildNimPackage: move into /pkgs/build-support, tidy OWNERS 2024-10-28 10:26:14 +00:00
checkpoint-build.nix
closure-info.nix Reapply "closure-info: switch to stdenvNoCC (#344456)" 2024-09-26 09:33:42 +02:00
make-impure-test.nix
plugins.nix
replace-dependencies.nix replaceDependencies: do not build unused replacements 2024-09-24 12:20:15 +02:00
replace-direct-dependencies.nix replaceDependencies: add support for ca-derivations 2024-09-24 12:20:15 +02:00
setup-systemd-units.nix
source-from-head-fun.nix