nixpkgs/pkgs/development/compilers
sternenseemann 4aa937d2e2 zz: install modules shipped with the compiler
Previously zz wouldn't be able to compile anything using standard
modules like mem or log out of the box.

To fix this we copy the modules directory included in the source to
$out/share/zz/modules and add an entry to ZZ_MODULE_PATHS in the wrapper
around zz.

We also remove a search path entry which used to reference /build
because it used CARGO_MANIFEST_DIR at build time. The default search
path now includes:

* /nix/store/modules
* $out/share/zz/modules
* $(pwd)/modules

Patching out /nix/store/modules would be kind of cumbersome as it is a
multi-line entry, but it probably does no harm and fine to leave in.

An issue arising by this PR might be that the added search path entry
may take priority over an user specified location even though we use
--suffix. This is because zz internally uses a HashSet which has no
guaranteed iteration order. This may lead to unexpected behavior for
users wo previously provided custom versions of the standard modules via
ZZ_MODULE_PATHS. However, this is an issue in upstream issue as well
where ZZ_MODULE_PATHS may or may not take priority over the compiled in
search path, so this issue should probably be resolved upstream (I'll
file a report or PR).
2021-01-25 14:25:42 +01:00
..
4th pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
abcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
acme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
adoptopenjdk-bin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
adoptopenjdk-icedtea-web pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
aldor pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
aliceml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
apache-flex-sdk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
arachne-pnr pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
asn1c pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
aspectj pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ats pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ats2 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
avian pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
avra pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bigloo pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
binaryen pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bluespec pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bs-platform pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bupc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cakelisp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
carp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cc65 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ccl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
chez pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
chicken pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ciao pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
clasp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
clean pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
closure pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cmdstan pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cmucl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
colm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
compcert pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
computecpp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
copper pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
coreclr pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
crystal treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
crystal2nix crystal2nix: unstable-2018-07-31 -> 0.1.0 2020-12-28 16:21:23 +08:00
cudatoolkit pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dale pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dev86 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dmd pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dotnet pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dtc treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
ecl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
edk2 edk2: 201911 -> 202011 (#105582) 2020-12-01 21:47:18 +01:00
eli pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
elm Merge pull request #110545 from svanderburg/node2nix-update 2021-01-25 09:13:59 +01:00
emscripten pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
eql pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
factor-lang pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fasm fasm: 1.73.24 -> 1.73.25 2020-08-25 20:13:27 +00:00
fasmg pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
flasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
flutter pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
flux treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
fpc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fsharp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fsharp41 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fstar pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gambit gambit: support targets, modules 2020-11-06 12:03:59 -05:00
gavrasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gcc Merge pull request #110544 from Ericson2314/no-platform 2021-01-23 16:32:36 -05:00
gcc-arm-embedded pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gerbil gerbilPackages-unstable.gerbil-libp2p: init at 2018-12-27 2020-11-06 12:04:00 -05:00
gforth pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ghc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ghcjs-ng pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ghdl ghdl: 0.37 -> unstable-2021.01.14 2021-01-15 10:13:46 -06:00
gleam pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
glslang pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gnatboot pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gnu-cobol pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gnu-smalltalk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
go pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
go-jsonnet go-jsonnet: 0.16.0 -> 0.17.0 2020-11-26 05:56:06 +00:00
gprolog pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
graalvm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gwt pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
halide halide: enable on aarch64-linux 2020-10-11 05:12:39 +02:00
haxe pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
hhvm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
hop pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
iasl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
idris2 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
inform6 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
inform7 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
intel-graphics-compiler pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
intercal pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ios-cross-compile pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ispc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
jasmin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
javacard-devkit pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
jetbrains-jdk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
jsonnet jsonnet: 0.16.0 -> 0.17.0 2020-11-26 08:26:57 +00:00
julia Merge pull request #110544 from Ericson2314/no-platform 2021-01-23 16:32:36 -05:00
jwasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
kotlin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ldc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
llvm clang, cc-wrapper: Move --gcc-toolchain logic into CC wrapper 2021-01-24 15:49:32 -05:00
lobster pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
manticore treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
matter-compiler treewide: add final newline 2021-01-22 07:18:04 +10:00
mcpp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mercury pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
meta-environment/meta-build-env pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mezzo pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
microscheme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mint mint: 0.7.1 -> 0.9.0 2020-04-22 17:30:22 +08:00
miranda pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mit-scheme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mkcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mlkit Merge pull request #110465 from siraben/development-compilers-stdenv-lib 2021-01-23 10:07:31 +00:00
mlton pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mono pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mosml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mozart pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mruby pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
muon fix eval 2020-11-28 14:50:21 +10:00
nasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
neko pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
nextpnr Merge pull request #108300 from siraben/parallel-cmake 2021-01-03 13:22:09 -05:00
nim nim: expose testament test runner 2020-12-10 14:49:01 +01:00
nvidia-cg-toolkit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
obliv-c pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ocaml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
opa pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
open-watcom-bin open-watcom-bin: fix EOVERFLOW on stat() calls 2020-05-08 17:29:38 +02:00
opendylan pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
openjdk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
openspin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
oraclejdk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
orc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
osl treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
owl-lisp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
paco paco: init at 1.0 2020-09-30 11:05:45 +02:00
pakcs pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
pforth pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
picat pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
polyml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ponyc treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
purescript pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
qbe pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
rasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
reason pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
rgbds pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
rust treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
sagittarius-scheme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
sbcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
scala pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
sdcc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
seexpr pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
serpent pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
shaderc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
smlnj pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
solc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
souffle pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
spasm-ng pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
spirv-llvm-translator pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
squeak pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
stalin treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
swi-prolog pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
swift treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
terra pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
teyjus pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
tinycc tinycc: fixup perms for generated .pc file 2019-10-12 14:45:17 +02:00
tinygo tinygo: 0.13.1 -> 0.16.0 2020-12-12 16:56:08 +01:00
tvm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
unison pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
urn pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
urweb pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
vala pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
vlang pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
vyper pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
wcc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
wla-dx pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
x11basic pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
yap pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
yasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
yosys yosys-bluespec: 2021.01.14 -> 2021.01.17 2021-01-17 17:15:01 -06:00
z88dk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zig pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zulu pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zz zz: install modules shipped with the compiler 2021-01-25 14:25:42 +01:00