Commit Graph

16076 Commits

Author SHA1 Message Date
Asad Mehmood
9ee10432a4 rust: cargo: Use rustc and cargo built on Build
When cross-compiling a rust package, all we need is the std library compiled
for the target. This uses the final stage compiler which was built for Build
and then uses that as a stage0 compiler for target std library.

It also copies the rust binary from pkgsBuildBuild so that it find the new
lib/rustlib directory.

We also need to create a cargo wrapper which will use the "new" rust compiler

Also makes sure man pages and doc pages are propagated

Co-authored-by: Alyssa Ross <hi@alyssa.is>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Rick van Schijndel <Mindavi@users.noreply.github.com>
2023-09-10 14:48:39 +02:00
Ulrik Strid
0f568acbef
Merge pull request #254003 from vbgl/ocaml-5.1.0
ocaml-ng.ocamlPackages_5_1.ocaml: init at 5.1.0-rc3
2023-09-09 21:04:17 +02:00
Anderson Torres
a49eb940a2 zig: reword setup hook
- Move the huge comment from setup-hook.sh to hook.nix
- Prefix zig in the echoCmd calls
2023-09-09 15:27:11 +00:00
Nick Cao
8d13845def
Merge pull request #254145 from pineapplehunter/master
circt: 1.53.0 -> 1.54.0
2023-09-09 09:04:33 -04:00
Mario Rodas
54b20a080a
Merge pull request #254124 from r-ryantm/auto-update/fasm
fasm: 1.73.30 -> 1.73.31
2023-09-09 06:29:33 -05:00
Shogo Takata
9b92c01581 circt: add update script 2023-09-09 14:47:05 +09:00
John Ericson
e829eca886
Merge pull request #253939 from angerman/angerman/ucrt64
Add ucrt64 mingw toolchain.
2023-09-08 22:40:14 -04:00
Shogo Takata
0f5391d982 circt: 1.53.0 -> 1.54.0 2023-09-09 10:28:04 +09:00
R. Ryantm
b9718ad80f fasm: 1.73.30 -> 1.73.31 2023-09-08 23:13:58 +00:00
Artturi
864112c753
Merge pull request #249682 from amjoseph-nixpkgs/dont-build-libgcc-twice 2023-09-09 02:10:14 +03:00
Weijia Wang
a6a01252d5 blueprint-compiler: add darwin support 2023-09-08 17:24:32 +02:00
Adam Joseph
aafab3b5b6 gcc: for cross compilers, don't build libgcc twice
Cross-compiled binaries currently end up with two different libgcc
outpaths in their closure.  This is harmless, but confusing.

The two libgccs are:

- One of them is the "first" targetPlatform libgcc, which is built
  by the "first" cross-compiler.  This "first libgcc" and "first
  compiler" are used to build the targetPlatform glibc.

- Once glibc is built, we *rebuild* the cross-compiler, since gcc
  can't enable most of its features unless you give it an
  already-compiled targetPlatform glibc.  When this "second"
  compiler is built, it also builds an extra copy of libgcc.

This commit discards the second, extra libgcc, and instead puts a
reference to the first (correct) libgcc into the "second compiler"
`.passthru.libgcc`, so that anybody expecting `stdenv.cc.cc.libgcc`
to exist will still find it there.

Closes #249680
2023-09-08 16:07:50 +03:00
Moritz Angermann
a81e3dcd75 treewide: replace libc == "msvcrt" with isMinGW
msvcrt is only one of the libcs in MinGW. We therefore
replace explictly testing for msvcrt with the isMinGW
predicate. This lays the foundation for ucrt64 support.
2023-09-08 10:56:08 +00:00
Vincent Laporte
b787aa207f
ocaml-ng.ocamlPackages_5_1.ocaml: init at 5.1.0-rc3 2023-09-08 11:50:46 +02:00
mdarocha
d2d7504a4a dotnet-sdk_7: 7.0.306 -> 7.0.400 2023-09-08 08:32:45 +02:00
mdarocha
71c971b0f1 dotnet-sdk: 6.0.412 -> 6.0.413 2023-09-08 08:32:41 +02:00
Rahul Butani
0251e2645a llvmPackages_15.libcxx: fix the generated linker script
See:
 - https://github.com/NixOS/nixpkgs/issues/214524#issuecomment-1429146432
 - 57c7bb3ec8
 - https://reviews.llvm.org/D133566

We can drop this patch in `llvmPackages_16`.

Fixes #214524.
2023-09-08 05:41:29 +03:00
zowoq
e67b7b6ab5 go_1_21: 1.21.0 -> 1.21.1
Changelog: https://go.dev/doc/devel/release#go1.21
2023-09-08 08:43:57 +10:00
zowoq
21dc6b7052 go_1_19: 1.19.12 -> 1.19.13
Changelog: https://go.dev/doc/devel/release#go1.19
2023-09-08 08:43:44 +10:00
figsoda
fa8cf9b370 erg: 0.6.19 -> 0.6.20
Diff: https://github.com/erg-lang/erg/compare/v0.6.19...v0.6.20

Changelog: https://github.com/erg-lang/erg/releases/tag/v0.6.20
2023-09-07 14:05:53 -04:00
Artturi
de42a231a4
Merge pull request #236203 from SharzyL/llvm_no_extend 2023-09-06 23:44:14 +03:00
github-actions[bot]
82535bc9c1
Merge master into staging-next 2023-09-06 06:00:55 +00:00
Robert Schütz
8fa0d873d4
Merge pull request #250008 from dotlambda/coffeescript-buildNpmPackage
coffeescript: use buildNpmPackage
2023-09-06 04:34:19 +00:00
Robert Schütz
c1de92d188 coffeescript: use buildNpmPackage 2023-09-05 19:32:19 -07:00
github-actions[bot]
72eff9fe5d
Merge master into staging-next 2023-09-06 00:01:57 +00:00
Weijia Wang
583914aee1
Merge pull request #252333 from wahjava/update-chez
chez: 9.5.8a -> 9.6.2
2023-09-06 00:47:54 +02:00
Vladimír Čunát
b4cc333048
Merge branch 'master' into staging-next 2023-09-04 20:19:44 +02:00
Henner Zeller
8c603d5a8c yosys-symbiflow: 1.20230425 -> 1.20230808 2023-09-04 09:03:32 -05:00
github-actions[bot]
0a1690dd6b
Merge master into staging-next 2023-09-04 12:01:12 +00:00
ajs124
141579b8a2 seexpr: remove 2023-09-04 13:55:28 +02:00
ajs124
0141f9aca0 eql: remove 2023-09-04 13:55:27 +02:00
Théo Zimmermann
5ffc3c4900
Merge pull request #252970 from miniBill/patch-1
Lamdera: 1.1.0 -> 1.2.0
2023-09-04 10:42:46 +02:00
github-actions[bot]
b6f9cf5799
Merge master into staging-next 2023-09-03 18:01:01 +00:00
Shogo Takata
4c635d8572 circt: 1.52.0 -> 1.53.0 2023-09-03 21:19:05 +09:00
github-actions[bot]
29aea2bf52
Merge master into staging-next 2023-09-03 12:00:53 +00:00
Leonardo Taglialegne
02918d98b2 Lamdera: 1.1.0 -> 1.2.0 2023-09-02 18:31:32 +02:00
Mauricio Collares
2701d140df treewide: fetch sage patches from github instead of now-defunct trac 2023-09-02 08:46:11 -07:00
github-actions[bot]
7c38c696db
Merge master into staging-next 2023-09-01 12:01:23 +00:00
Victor Freire
83d358d2a2 lunarml: unstable-2023-07-25 → unstable-2023-08-25 2023-09-01 09:53:07 +00:00
Matthias Beyer
1deab497f7
Merge pull request #252654 from r-ryantm/auto-update/aspectj
aspectj: 1.9.19 -> 1.9.20
2023-09-01 09:00:33 +02:00
github-actions[bot]
1bff11a6e1
Merge master into staging-next 2023-09-01 00:02:17 +00:00
R. Ryantm
ddd4ff164e aspectj: 1.9.19 -> 1.9.20 2023-08-31 23:43:36 +00:00
Mario Rodas
56a65bbad5
Merge pull request #252177 from alexfmpe/ispc-1.21
ispc: 1.20.0 -> 1.21.0
2023-08-31 18:38:21 -05:00
github-actions[bot]
cfbf9d795e
Merge master into staging-next 2023-08-31 18:01:26 +00:00
Connor Baker
bd83b4e052
Merge pull request #240498 from ConnorBaker/feat/cuda-redist-multiple-outputs
cudaPackages: multiple outputs for redistributables
2023-08-31 09:00:10 -04:00
github-actions[bot]
1e588fe2a3
Merge master into staging-next 2023-08-31 12:01:02 +00:00
Matthias Beyer
30670da652
Merge pull request #252470 from r-ryantm/auto-update/closurecompiler
closurecompiler: 20230502 -> 20230802
2023-08-31 11:10:04 +02:00
Connor Baker
d5e5246e76 cudaPackages: split outputs
This change which involves creating multiple outputs for CUDA
redistributable packages.

We use a script to find out, ahead of time, the outputs each redist
package provides. From that, we are able to create multiple outputs for
supported redist packages, allowing users to specify exactly which
components they require.

Beyond the script which finds outputs ahead of time, there is some custom
code involved in making this happen. For example, the way Nixpkgs
typically handles multiple outputs involves making `dev` the default
output when available, and adding `out` to `dev`'s
`propagatedBuildInputs`.

Instead, we make each output independent of the others. If a user wants
only to include the headers found in a redist package, they can do so by
choosing the `dev` output. If they want to include dynamic libraries,
they can do so by specifying the `lib` output, or `static` for static
libraries.

To avoid breakages, we continue to provide the `out` output, which
becomes the union of all other outputs, effectively making the split
outputs opt-in.
2023-08-31 03:31:55 +00:00
R. Ryantm
ea5378fdb9 closurecompiler: 20230502 -> 20230802 2023-08-31 00:52:36 +00:00
github-actions[bot]
ce84b1371f
Merge master into staging-next 2023-08-31 00:01:54 +00:00