nixpkgs/pkgs/build-support
Randy Eckenrode 826edbf719
{bintools,cc}-wrapper: fix static builds on Darwin
Without this change, all Darwin platforms mangle to the same suffix
salt. That is normally not an issue because build = host should mean a
non-cross build, but it causes issues on Darwin with static builds
because `DEVELOPER_DIR_FOR_BUILD` and `DEVELOPER_DIR` will refer to
different SDKs but mangle to the same `DEVELOPER_DIR` with suffix salt.

The fix is to mangle static builds differently from non-static ones on
Darwin, which allows building for a static Darwin target on a
same-architecture Darwin host. This fix is applied only to Dariwn
because the issue does not appear to affect other platforms.
2024-10-10 16:23:00 -04: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 {bintools,cc}-wrapper: fix static builds on Darwin 2024-10-10 16:23:00 -04:00
build-bazel-package treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
build-fhsenv-bubblewrap steam: decimate 2024-10-08 14:00:17 +03:00
build-fhsenv-chroot {buildFHSEnvBubblewrap,buildFHSEnvChroot}: add nativeBuildInputs 2024-09-25 22:43:00 +03:00
build-graalvm-native-image treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
buildenv buildenv: don't pass null paths to writeClosure 2024-09-19 23:09:26 +03:00
cc-wrapper {bintools,cc}-wrapper: fix static builds on Darwin 2024-10-10 16:23:00 -04: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 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
deterministic-uname
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 fetchgit: factor-out the hash logic to lib.fetchers.withNormalizedHash 2024-09-17 08:31:36 +00: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
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: nixfmt-rfc-style 2024-09-25 14:51:53 -03:00
fetchzip
go buildGoModule: use lib.toExtension 2024-09-14 21:47:59 +08:00
icon-conv-tools
kernel makeInitrdNG: fixup contents documentation 2024-09-10 15:31:48 -04:00
lib
libredirect treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
make-darwin-bundle treewide: handle preDistPhases __structuredAttrs-agnostically 2024-09-03 05:33:59 +08:00
make-desktopitem make-desktopitem: fix file extension for type directory 2024-07-03 23:23:30 +08:00
make-hardcode-gsettings-patch
make-pkgconfigitem
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 fetch-yarn-deps: handle packages that are locally linked (#342186) 2024-09-29 22:59:39 +03: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: handle postPhases __structuredAttrs-agnostically 2024-09-03 05:56:17 +08:00
remove-references-to
replace-secret
replace-vars replaceVars: init 2024-08-07 07:27:50 -07:00
rust rustPlatform: cargo test is now called with the same environment variables as cargo build 2024-10-09 09:42:38 +02:00
setup-hooks autoPatchelfHook: expose script as top level package (#340162) 2024-09-30 10:03:28 +02:00
singularity-tools singularity-tools: make runscript modifiable 2024-08-18 00:37:37 +08:00
src-only srcOnly: Fix bug introduced by rewrite 2024-10-08 10:15:42 -07:00
substitute treewide: lib.isInOldestRelease -> lib.oldestSupportedReleaseIsAtLeast 2024-10-08 11:14:24 +02:00
substitute-files
testers Merge pull request #334995 from pbsds/fix-test-version-1723771306 2024-08-17 07:53:03 -07:00
trivial-builders Merge master into staging-next 2024-09-24 18:04:41 +00: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: replace binutils override with binutils-unwrapped-all-targets 2024-10-07 03:02:27 +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