nixpkgs/pkgs/build-support
Adam Joseph bbb42450c5 default-crate-overrides: proc-macro-crate assumes env::var("CARGO")
Since version 2.0.0, proc-macro-crate has assumed it can exec()
`env::var("CARGO")` in order to run `cargo locate-project`.

This commit adds a crate override to proc-macro-crate which simply writes the
path to buildPlatform.cargo into the proc-macro-crate sources.

This way we don't need to set `env.CARGO` for every build that depends on
proc-macro-crate -- if we do that, the $CARGO environment variable would be
visible to the entire build.  This could potentially lead to incredibly
hard-to-troubleshoot heisenbugs if there is some other crate that expects
`env::var("CARGO")` to exist -- that other crate would mysteriously work only
in projects that use proc-macro-crate but not anywhere else!
2024-08-23 09:36:47 +03:00
..
add-driver-runpath
agda build-support/agda: expose mkLibraryFile 2024-07-04 14:51:30 +02:00
alternatives
appimage appimage-run: Expose $APPIMAGE 2024-07-24 15:17:30 +02:00
binary-cache
bintools-wrapper Merge master into staging-next 2024-08-12 18:02:11 +00:00
build-bazel-package
build-fhsenv-bubblewrap buildFHSEnv: replace all chroot occurences with generic names 2024-07-28 22:39:35 +02:00
build-fhsenv-chroot treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
build-graalvm-native-image
buildenv
cc-wrapper Merge pull request #317224 from ju1m/NIX_CFLAGS_COMPILE 2024-07-28 20:18:22 -04:00
compress-drv compressDrv: fix a confusing comment 2024-08-21 21:52:00 +03:00
coq mkCoqDerivation: fix install path of ML plug-in built w/ dune 2024-06-25 21:07:57 +02:00
dart
deterministic-uname Merge master into staging-next 2024-06-07 00:02:15 +00:00
dev-shell-tools nixosTests.docker-tools-nix-shell: Enable on aarch64-linux 2024-07-29 00:23:05 +02:00
dhall
dlang
docker streamLayeredImage: add dynamic tagging of docker image (#329425) 2024-07-29 19:45:58 +02:00
dotnet buildDotnetModule: add finalAttrs support 2024-08-06 16:33:49 +01:00
expand-response-params
fake-nss
fetch9front
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdebianpatch
fetchdocker
fetchfirefoxaddon
fetchfossil
fetchgit
fetchgitea
fetchgithub
fetchgitiles
fetchgitlab
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn
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
fetchpypi
fetchpypilegacy fetchPypiLegacy: Pass cacert to enable TLS verification when username/password is used 2024-08-14 13:22:31 +12:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut
fetchsvn fetchsvn: remove with statements 2024-08-18 06:31:14 -07:00
fetchsvnrevision
fetchsvnssh
fetchtorrent treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
fetchurl
fetchzip
flutter buildFlutterApplication: use the engine 2024-06-14 21:01:19 -07:00
go buildGoPackage: deprecate 2024-07-21 12:50:54 +02:00
icon-conv-tools
install-shell-files
kernel make-initrd-ng: also print json itself if it fails to parse 2024-08-02 10:24:34 +02:00
lib build-support/meson: explicitly use ambiant CMake during cross compilation 2024-05-11 13:32:14 +02:00
libredirect libredirect: use llvmPackages unconditionally 2024-07-13 10:59:41 -04:00
make-darwin-bundle
make-desktopitem make-desktopitem: fix file extension for type directory 2024-07-03 23:23:30 +08:00
make-hardcode-gsettings-patch
make-pkgconfigitem treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
make-startupitem make-startupitem: fix {prepend,append}ExtraArgs for Exec without arguments 2024-08-18 12:28:06 +02:00
mitm-cache mitm-cache: init at 0.1.1 2024-07-12 18:24:47 +07:00
mkshell
mono-dll-fixer
nix-gitignore
node importNpmLock: init fetcherOps per package 2024-08-13 09:38:37 +02:00
nuke-references
ocaml build-support/ocaml: deprecate minimumOCamlVersion (#319907) 2024-06-21 10:29:31 +02:00
oci-tools
php build-support/php: implement v2 2024-08-15 13:43:00 +02:00
pkg-config-wrapper
portable-service
prefer-remote-fetch
references-by-popularity
release
remove-references-to
replace-secret
replace-vars replaceVars: init 2024-08-07 07:27:50 -07:00
rust default-crate-overrides: proc-macro-crate assumes env::var("CARGO") 2024-08-23 09:36:47 +03:00
setup-hooks mpiCheckPhaseHook: update to use openmpi-5 compatible parameters 2024-08-12 21:45:24 +02:00
singularity-tools singularity-tools: don't preserve store content ownership 2024-08-15 21:33:18 +08:00
src-only Reapply "srcOnly: reflink if possible and preserve attributes" 2024-05-27 13:41:36 +02:00
substitute
substitute-files
testers Merge pull request #334995 from pbsds/fix-test-version-1723771306 2024-08-17 07:53:03 -07:00
trivial-builders Merge pull request #333262 from nbraud/doc/runCommandWith 2024-08-19 12:29:58 -07:00
vm vmTools: allow qemu to be overridden via customQemu argument 2024-07-08 19:47:08 +01:00
wrapper-common
writers makePythonWriter: add doCheck toggle 2024-08-21 19:17:36 +02:00
checkpoint-build.nix
closure-info.nix
make-impure-test.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix