nixpkgs/pkgs/development/compilers
Alyssa Ross e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
..
abcl Merge pull request #239270 from wahjava/update-abcl 2023-06-23 10:59:55 +08:00
acme treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases 2023-08-11 09:20:44 +00:00
adoptopenjdk-bin adoptopenjdk: 8.0.322+6 → 8.0.372+7, 11.0.16+101 → 11.0.19+7, 17.0.4+101 → 17.0.7+7 2023-06-13 20:32:48 -06:00
adoptopenjdk-icedtea-web xulrunner: move to aliases.nix 2023-11-03 00:10:44 +13:00
alan
ante tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
apache-flex-sdk
arachne-pnr
armips
as31
asl asl: replace texlive.combined.scheme-medium with texliveMedium 2023-11-05 11:56:02 +00:00
asn1c
aspectj treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
assemblyscript assemblyscript: 0.27.8 -> 0.27.9 2023-08-23 00:47:33 +00:00
atasm
ats
ats2
august august: init at unstable-2023-08-13 2023-08-19 14:42:10 -04:00
avra
ballerina ballerina: 2201.8.1 -> 2201.8.2 2023-10-29 08:25:50 +00:00
bfc bfc: 1.11.0 -> 1.12.0 2023-09-17 20:36:00 -04:00
bigloo treewide: amend hacks of removing $(pwd) 2023-08-05 09:26:04 +02:00
binaryen binaryen: 114 -> 116 2023-10-10 12:39:31 -04:00
blueprint blueprint-compiler: add darwin support 2023-09-08 17:24:32 +02:00
bluespec bluespec: replace texlive.combined.scheme-full with texliveFull 2023-11-05 11:54:56 +00:00
bs-platform
bupc
c0 c0: unstable-2022-10-25 -> unstable-2023-09-05 2023-10-30 04:20:00 +00:00
c3c
cairo cairo-lang: 2.0.2 -> 2.2.0 2023-08-26 13:21:48 +02:00
cakelisp cakelisp: update upstream url 2023-05-16 11:30:00 +02:00
carp
cc65
ccl Re-add broken Darwin 2023-08-29 09:23:10 +02:00
chez chez: 9.6.2 -> 9.6.4 2023-10-17 09:38:40 +00:00
chez-racket Merge remote-tracking branch 'origin/master' into staging-next 2023-02-23 13:51:34 +00:00
chicken chickenPackages_4.chicken: fix build on x86_64-darwin 2023-11-07 18:50:29 -05:00
ciao ciao: 1.22.0-m1 -> 1.22.0-m7 2023-07-27 00:45:15 +00:00
circt circt: 1.56.1 -> 1.58.0 2023-10-27 02:55:33 +00:00
clasp clasp-common-lisp: build with fmt 9 2023-05-20 04:20:00 +00:00
clean
closure closurecompiler: 20230502 -> 20230802 2023-08-31 00:52:36 +00:00
cmdstan cmdstan: 2.32.2 -> 2.33.1 2023-10-07 19:45:46 +02:00
cmucl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
codon codon: 0.15.5 -> 0.16.1 2023-06-12 18:59:26 +03:00
coffeescript coffeescript: use buildNpmPackage 2023-09-05 19:32:19 -07:00
colm
computecpp computecpp-unwrapped: 2.3.0 -> 2.11.0 2023-06-12 19:07:41 +00:00
cone
copper
crystal crystal: fix build with newer versions of clang 2023-10-22 20:55:37 -04:00
crystal2nix
cudatoolkit cudaPackages: redist: EULA notice in the description 2023-11-08 19:06:44 -03:00
dale
dart dart: update homepage link 2023-10-25 19:48:33 -03:00
dasm
dev86 dev86: change self to finalAttrs 2023-04-26 08:00:11 -03:00
dictu
djgpp djgpp: Add darwin support 2023-10-01 18:53:05 +02:00
dmd Merge pull request #111525 from lionello/dmd-bootstrap-rm-ref 2023-10-18 22:11:01 +02:00
dotnet dotnet-sdk_8: 8.0.100-rc.1.23455.8 -> 8.0.100-rc.2.23502.2 2023-10-25 19:52:18 +02:00
dtc Merge pull request #237241 from alyssais/dtc-cross 2023-06-20 16:32:39 +03:00
ecl treewide: fetch sage patches from github instead of now-defunct trac 2023-09-02 08:46:11 -07:00
edk2 edk2: fix build on x86_64-darwin 2023-10-01 03:25:59 +02:00
eli
elm elmPackages.elm-graphql: init at 4.3.1 2023-10-26 17:15:34 -03:00
emscripten emscripten: ensure node_modules are available 2023-10-10 16:49:50 -04:00
erg erg: 0.6.23 -> 0.6.24 2023-10-30 17:10:13 -04:00
factor-lang factor: Fix "resource:work" pointing to store 2023-03-11 22:20:19 +01:00
fasm fasm: 1.73.30 -> 1.73.31 2023-09-08 23:13:58 +00:00
fasmg mullvad-vpn: support aarch64-linux 2023-07-04 20:11:41 +10:00
fbc fbc: 1.09.0 -> 1.10.0 2023-05-24 11:54:54 +02:00
firrtl
flasm
flix flix: 0.40.0 -> 0.41.0 2023-10-20 08:51:11 +00:00
flutter Merge pull request #262320 from FlafyDev/fix/flutter-version 2023-10-24 07:43:13 +02:00
flux
fpc treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
fsharp
fstar fstar: 2023.04.25 -> 2023.09.03 2023-10-30 04:20:00 +00:00
gambit gambit-unstable: 2023-08-06 -> 2023-10-07 2023-10-14 18:36:26 -04:00
gavrasm
gbforth gbforth: init at unstable-2023-03-02 2023-03-06 19:04:10 +01:00
gcc Merge staging-next into staging 2023-11-08 12:02:19 +00:00
gcc-arm-embedded gcc-arm-embedded-12: 12.2.rel1 -> 12.3.rel1 2023-10-10 17:44:22 +02:00
gcl treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases 2023-08-11 09:20:44 +00:00
gerbil gerbilPackages-unstable: update libraries 2023-10-15 19:00:22 -04:00
gforth gforth: 0.7.9_20220127 -> 0.7.9_20230518 2023-06-18 19:15:00 +02:00
ghc ghc*: patch build of docs after sphinx update 2023-10-28 12:50:03 +02:00
ghcjs haskell.compiler.ghcjs: fix build (#228749) 2023-05-02 11:46:08 +02:00
ghdl ghdl: use finalAttrs idiom instead of rec 2023-09-23 15:47:21 +02:00
gleam Gleam: 0.31.0 -> 0.32.2 2023-11-06 18:30:55 +00:00
glslang glslang: 12.3.1 -> 13.1.1 2023-10-24 23:30:44 +03:00
gmqcc
gnat-bootstrap Merge pull request #226179 from amjoseph-nixpkgs/pr/gnat-bootstrap/cleanup 2023-08-23 23:39:32 +00:00
gnostic gnostic: 0.6.8 -> 0.7.0 2023-10-06 17:45:12 +00:00
gnu-cim
gnu-cobol gnu-cobol: replace texlive.combined.scheme-basic with texliveBasic 2023-11-05 11:54:55 +00:00
gnu-smalltalk
go go_1_20: 1.20.10 -> 1.20.11 2023-11-08 13:54:20 +10:00
go-jsonnet go-jsonnet: 0.19.1 -> 0.20.0 2023-04-18 02:05:19 +00:00
gprolog
graalvm/community-edition Merge pull request #264034 from r-ryantm/auto-update/graalvmCEPackages.graalpy 2023-10-29 09:53:13 +00:00
gwt
halide halide: remove mesa dependency on darwin 2023-06-21 11:37:31 +02:00
hare hare: add onemoresuza as the maintainer 2023-11-07 11:04:35 -03:00
haxe haxe_3_2, haxe_3_4: drop 2023-03-20 17:02:28 +02:00
heptagon heptagon: refactor 2023-09-21 00:22:39 +02:00
hop
hvm hvm: fix build 2023-07-03 22:31:23 -04:00
idris2
inform6 inform6: 6.41-r5 -> 6.41-r6 2023-07-18 20:03:17 +00:00
inform7
inklecate
intel-graphics-compiler intel-graphics-compiler: 1.0.12812.26 -> 1.0.14828.8 2023-10-04 00:32:09 +02:00
intercal
ios-cross-compile treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
ispc ispc: 1.21.0 -> 1.21.1 2023-10-12 13:45:21 +00:00
jasmin
jasmin-compiler jasmin-compiler: 2023.06.0 → 2023.06.1 2023-08-10 19:09:04 +02:00
javacard-devkit
jetbrains-jdk jetbrains.jdk: fix build on aarch64-linux 2023-10-13 22:52:11 +02:00
jrsonnet tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
jsonnet jsonnet: fix build on darwin 2023-07-26 18:46:37 +02:00
julia julia: fix URL to building instruction in README 2023-10-25 13:05:58 +02:00
juniper
jwasm jwasm: 2.16 -> 2.17 2023-04-11 15:07:42 -03:00
kaitai-struct-compiler
kind2 kind2: fix build 2023-07-03 22:30:31 -04:00
koka koka: 2.4.0 -> 2.4.2 2023-07-18 16:14:02 +02:00
kotlin kotlin: 1.9.10 -> 1.9.20 2023-11-01 14:00:31 +00:00
ldc ldc: bump LLVM to 16 2023-10-15 18:21:08 +02:00
lesscpy lesscpy 0.13.0 -> 0.15.1 2023-09-07 08:05:06 -04:00
ligo ligo: 0.72.0 -> 1.0.0 2023-10-03 21:41:00 +02:00
lingua-franca Merge pull request #231070 from revol-xut/lfc 2023-05-13 12:49:13 +02:00
llvm Merge pull request #265490 from alyssais/compiler-rt-16-freebsd 2023-11-09 06:12:20 +01:00
lobster lobster: 2023.12 -> 2023.13 2023-10-11 01:13:37 +00:00
lunarml lunarml: unstable-2023-09-21 → 0.0.20230924 2023-09-27 10:17:40 +07:00
manticore
marst marst,libidn2,mdk: remove duplicate /gnu in the url 2023-03-11 20:09:21 +02:00
matter-compiler
mcpp
mercury mercury: 22.01.7 -> 22.01.8 2023-09-24 09:50:14 +00:00
meta-environment/meta-build-env
mezzo ocamlPackages.mezzo: fix build 2023-03-03 06:08:25 +00:00
microscheme
minimacy minimacy: 1.1.0 -> 1.1.2 2023-10-03 05:14:51 +00:00
mint
miranda
mit-scheme mitscheme: replace texlive.combine with texliveSmall.withPackages 2023-11-05 13:43:29 +00:00
mkcl lisp-modules: set maintainers to the lisp team 2023-04-05 20:52:27 +02:00
mlkit mlkit: 4.7.4 -> 4.7.5 2023-10-11 07:35:47 +00:00
mlton
mono mono: add licensing details 2023-06-19 13:30:09 +01:00
mosml
mozart mozart2: unpin boost169 2023-06-06 00:11:19 +03:00
mruby mruby: add marsam to maintainers 2023-06-17 04:20:00 +00:00
mrustc lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
muonlang
myrddin
nasm
neko neko: fix build with clang 16 2023-11-01 02:06:55 +01:00
nextpnr treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases 2023-08-11 09:20:44 +00:00
nim nim: fix evaluation 2023-10-02 08:16:30 +00:00
nqc
nvidia-cg-toolkit
obliv-c obliv-c: migrate to OCaml 4.14 2023-03-05 01:40:37 +02:00
ocaml treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
odin odin: dev-2023-08 -> dev-2023-11 2023-11-08 15:15:34 -03:00
open-watcom open-watcom-v2-unwrapped: unstable-2023-03-20 -> unstable-2023-05-17 (#230544) 2023-05-25 21:15:50 +02:00
opendylan opendylan: mark broken 2023-05-20 22:33:22 +02:00
openjdk Merge remote-tracking branch 'origin/master' into staging-next 2023-10-15 22:31:34 +02:00
opensmalltalk-vm opensmalltalk-vm: convert buildFlags to a list 2023-06-22 19:34:59 -04:00
openspin
opensycl rocm-related: fixup for ROCm 5.7.0 2023-10-09 17:03:19 -05:00
ophis
oraclejdk
orc orc: add changelog to meta 2023-06-26 04:20:00 +00:00
osl osl: add darwin support 2023-07-06 13:26:07 +03:00
otus-lisp otus-lisp: init at 2.4 2023-07-24 10:30:00 +02:00
owl-lisp owl-lisp: 0.2.1 -> 0.2.2 2023-11-01 20:08:03 +00:00
p4c p4c: use finalAttrs pattern 2023-07-29 13:02:22 +02:00
paco
pakcs
passerine
pforth pforth: allow cross-compile 2023-07-14 08:22:44 -03:00
picat
polyml polyml: 5.9 -> 5.9.1 2023-10-04 00:54:22 +00:00
ponyc pony-corral: 0.7.0 -> 0.8.0 2023-09-20 00:37:44 +02:00
purescript purescript: 0.15.11 -> 0.15.12 2023-10-13 03:27:57 +00:00
qbe
rasm
reason Merge pull request #255775 from r-ryantm/auto-update/reason 2023-09-22 21:34:12 +02:00
rgbds
rml rml: use prefixKey 2023-04-04 17:46:59 +03:00
roslyn roslyn: remove extended-deps.nix 2023-06-24 19:13:16 -03:00
rust lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
sagittarius-scheme sagittarius-scheme: 0.9.9 -> 0.9.10 2023-07-01 17:29:24 +00:00
sbcl sbcl: CLISP bootstrap host for default systems 2023-10-26 23:38:41 -04:00
scala scala_3: 3.3.0 -> 3.3.1 2023-09-12 16:53:37 +10:00
scala-runners
scryer-prolog scryer-prolog: 0.9.1 -> 0.9.2 2023-09-13 14:48:55 +10:00
sdcc sdcc: enableParallelBuilding = true 2023-04-21 13:52:22 -07:00
semeru-bin
serpent
shaderc
silice
sjasmplus
smlnj
solc solc: 0.8.19 -> 0.8.21 2023-09-19 06:41:48 +10:00
souffle souffle: 2.3 -> 2.4 2023-05-21 12:28:24 -05:00
spasm-ng
spirv-llvm-translator Revert "spirv-llvm-translator: move spirv-tools to nativeBuildInputs" 2023-11-02 23:54:40 +01:00
squeak squeak: add libGL build input 2023-10-20 22:02:59 +00:00
stalin
stanc stanc: 2.32.2 -> 2.33.1 2023-10-07 19:43:21 +02:00
swi-prolog swi-prolog: update dependency pcre -> pcre2 2023-08-22 18:29:03 +02:00
swift swiftPackages.Foundation: fix build w/ glibc-2.38 2023-09-27 14:36:44 +02:00
temurin-bin temurin-bin: init at 21 2023-10-25 09:39:42 -04:00
terra terra: 1.0.6 -> 1.1.0 2023-05-05 14:07:08 -07:00
teyjus teyjus: unstable-2019-07-26 -> 2.1.1 2023-06-30 06:44:22 +02:00
tinycc tinycc: fix static build 2023-05-16 06:24:35 -04:00
tinygo tinygo: clean up Clang header path patch 2023-10-12 03:32:48 +02:00
tvm tvm: 0.12.0 -> 0.13.0 2023-08-12 22:05:56 +00:00
typescript typescript: 5.1.6 -> 5.2.2 2023-08-25 04:20:00 +00:00
uasm
unison unison-ucm: M5f -> M5g 2023-09-21 23:35:40 +02:00
urn
urweb
vala Merge #252484: vala: work around clang 16 function pointer errors 2023-09-28 09:01:20 +02:00
vlang vlang: add delta231 as maintainer 2023-11-06 21:52:27 +05:30
vyper vyper: 0.3.9 -> 0.3.10 2023-10-07 12:59:12 +02:00
wcc
wla-dx
x11basic
xa xa: change self to finalAttrs 2023-04-26 08:00:11 -03:00
yap
yasm
yosys synlig: 2023.10.12 -> 2023-10-26 2023-10-27 07:36:13 -05:00
z88dk
zasm
zig zig: reword setup hook 2023-09-09 15:27:11 +00:00
zulu zulu21: init at 21.0.0 2023-10-08 23:14:52 +02:00
zz tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00