Commit Graph

25174 Commits

Author SHA1 Message Date
Martin Povišer
1b72831944 yosys: propagate build inputs as need be for plugins 2023-12-10 11:41:14 -06:00
Nick Cao
e2f39cdcf9 Merge pull request #273340 from r-ryantm/auto-update/zig-shell-completions
zig-shell-completions: unstable-2023-08-17 -> unstable-2023-11-18
2023-12-10 11:39:36 -05:00
GenericNerdyUsername
91dc77adaa jetbrains.jdk: fix docs 2023-12-10 16:15:50 +00:00
R. Ryantm
7073d808dd zig-shell-completions: unstable-2023-08-17 -> unstable-2023-11-18 2023-12-10 13:13:32 +00:00
github-actions[bot]
051d0ec1db Merge staging-next into staging 2023-12-10 12:01:43 +00:00
github-actions[bot]
958e403a78 Merge master into staging-next 2023-12-10 12:01:18 +00:00
Sophie Tauchert
3b40e1bd33 buildNimPackage: allow overriding nim package args
Without this, it's impossible to override the lockFile as the default
overrideAttrs is applied after the composition in buildNimPackage has
read the lock file and generated the nim flags from it.
2023-12-10 09:10:02 +00:00
github-actions[bot]
c45194320d Merge staging-next into staging 2023-12-10 06:01:20 +00:00
github-actions[bot]
39d4e1cb18 Merge master into staging-next 2023-12-10 06:00:56 +00:00
OTABI Tomoya
b9cb1d8d5f Merge pull request #271924 from stepbrobd/z3-solver
python3Packages.z3-solver: rename from z3
2023-12-10 12:28:16 +09:00
Robert Scott
1a5bd697ad mkDerivation, bintools-wrapper: move defaultHardeningFlags determination to bintools-wrapper
this makes it a lot easier to create a modified stdenv with a
different set of defaultHardeningFlags and as a bonus allows us
to inject the correct defaultHardeningFlags into toolchain wrapper
scripts, reducing repetition.

while most hardening flags are arguably more of a compiler thing,
it works better to put them in bintools-wrapper because cc-wrapper
can easily refer to bintools but not vice-versa.

mkDerivation can still easily refer to either when it is constructed.

this also switches fortran-hook.sh to use the same defaults for
NIX_HARDENING_ENABLE as for C. previously NIX_HARDENING_ENABLE
defaults were apparently used to avoid passing problematic flags
to a fortran compiler, but this falls apart as soon as mkDerivation
sets its own NIX_HARDENING_ENABLE - cc.hardeningUnsupportedFlags
is a more appropriate mechanism for this as it actively filters
out flags from being used by the wrapper, so switch to using that
instead.

this is still an imperfect mechanism because it doesn't handle a
compiler which has both langFortran *and* langC very well - applying
the superset of the two's hardeningUnsupportedFlags to either
compiler's invocation. however this is nothing new - cc-wrapper
already poorly handles a langFortran+langC compiler, applying two
setup hooks that have contradictory options.
2023-12-09 16:30:45 +00:00
github-actions[bot]
229cde6757 Merge staging-next into staging 2023-12-09 12:01:42 +00:00
github-actions[bot]
870c9dd139 Merge master into staging-next 2023-12-09 12:01:13 +00:00
Weijia Wang
c9e419dee9 Merge pull request #272931 from wegank/llvm-17-bump
llvmPackages_17: 17.0.2 -> 17.0.6
2023-12-09 12:23:13 +01:00
Raito Bezarius
dcf3231563 cairo-lang: 2.3.0 -> 2.4.0
This updates the Cairo (language) compiler to 2.4.0.
https://github.com/starkware-libs/cairo/releases/tag/v2.4.0

The Cargo.lock being not up-to-date, I had to refresh it, see
https://github.com/starkware-libs/cairo/issues/4530.
2023-12-08 23:44:40 +01:00
Weijia Wang
b70fee567d Merge branch 'staging-next' into staging 2023-12-08 22:10:05 +01:00
Weijia Wang
ad7edda3e2 Merge branch 'master' into staging-next 2023-12-08 22:09:49 +01:00
github-actions[bot]
5f3708016c Merge master into staging-next 2023-12-08 18:00:53 +00:00
Dmitry Kalinkin
025a278148 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/tools/networking/ofono/default.nix
2023-12-08 12:27:28 -05:00
Weijia Wang
99fa28912a llvmPackages_17: 17.0.2 -> 17.0.6 2023-12-08 16:14:54 +01:00
Weijia Wang
5ec25fa1d4 llvmPackages_git: sync with llvmPackages_17 2023-12-08 15:49:21 +01:00
Weijia Wang
1be4693cf2 Merge pull request #258614 from ExpidusOS/feat/llvm-17
llvmPackages_17: init
2023-12-08 15:11:29 +01:00
github-actions[bot]
367355c966 Merge master into staging-next 2023-12-08 12:01:36 +00:00
Rick van Schijndel
87e5690bba Merge pull request #271919 from emilytrau/avr-gcc8-aarch64-darwin
gcc8: support avr cross compilation on aarch64-darwin, qmk aarch64-darwin support pt. 1
2023-12-08 07:26:37 +01:00
Tristan Ross
d6d5c8a14e llvmPackages_17: init 2023-12-07 16:28:06 -08:00
github-actions[bot]
728281e1ea Merge master into staging-next 2023-12-08 00:02:27 +00:00
github-actions[bot]
40f2209184 Merge master into staging-next 2023-12-07 18:00:57 +00:00
Connor Baker
8e800cedaf cudaPackages: move derivations to cuda-modules & support aarch64
cudaPackages.cuda_compat: ignore missing libs provided at runtime

cudaPackages.gpus: Jetson should never build by default

cudaPackages.flags: don't build Jetson capabilities by default

cudaPackages: re-introduce filter for pre-existing CUDA redist packages in overrides

cudaPackages: only recurseIntoAttrs for the latest of each major version

cudaPackages.nvccCompatabilities: use GCC 10 through CUDA 11.5 to avoid a GLIBC incompatability

cudaPackages.cutensor: acquire libcublas through cudatoolkit prior to 11.4

cudaPackages.cuda_compat: mark as broken on aarch64-linux if not targeting Jetson

cudaPackages.cutensor_1_4: fix build

cudaPackages: adjust use of autoPatchelfIgnoreMissingDeps

cudaPackages.cuda_nvprof: remove unecessary override to add addOpenGLRunpath

cudaPackages: use getExe' to avoid patchelf warning about missing meta.mainProgram

cudaPackages: fix evaluation with Nix 2.3

cudaPackages: fix platform detection for Jetson/non-Jetson aarch64-linux

python3Packages.tensorrt: mark as broken if required packages are missing

Note: evaluating the name of the derivation will fail if tensorrt is not present,
which is why we wrap the value in `lib.optionalString`.

cudaPackages.flags.getNixSystem: add guard based on jetsonTargets

cudaPackages.cudnn: use explicit path to patchelf

cudaPackages.tensorrt: use explicit path to patchelf
2023-12-07 16:45:54 +00:00
Connor Baker
397d95d07f cudaPackages: move config expressions to cuda-modules 2023-12-07 16:39:34 +00:00
Connor Baker
4a25023c2e cudaPackages: regen & move manifests to cuda-modules 2023-12-07 16:39:34 +00:00
Connor Baker
c94fdf82d4 Merge pull request #271078 from SomeoneSerge/feat/torch-propagated-cuda
cudaPackages.setupCudaHook: propagate deps and the hook
2023-12-07 10:59:46 -05:00
Francesco Gazzetta
7e383bf3c2 critcl: init at 3.2 2023-12-07 15:44:48 +00:00
Alyssa Ross
f431d7ddab binaryen: backport fix for nodejs 20
Link: https://github.com/NixOS/nixpkgs/pull/271494#issuecomment-1836920695
Fixes: c4b3cc031e ("nodejs: default to nodejs_20")
2023-12-07 10:57:10 +01:00
Adam Joseph
c984d48816 spirv-llvm-translator: disable-warnings-if-gcc13 2023-12-07 09:11:37 +00:00
Adam Joseph
e2b669a137 blueprint: disable tests (time out) 2023-12-07 09:11:37 +00:00
Peder Bergebakken Sundt
815143af0f treewide: use lib.splitVersion 2023-12-07 07:18:41 +01:00
github-actions[bot]
e72d04004e Merge master into staging-next 2023-12-06 18:00:56 +00:00
Yifei Sun
3d0affa9c9 python3Packages.z3-solver: rename from z3 2023-12-06 12:30:03 -05:00
Luflosi
d23af28aa7 yosys: 0.35 -> 0.36
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.36
2023-12-06 08:55:21 -06:00
John Garcia
2e38c42cbb vlang: weekly.2023.44 -> 0.4.3 2023-12-06 08:30:04 +00:00
Vladimír Čunát
74c40a691f Merge #272362: go: 1.21.4 -> 1.21.5, go_1_20: 1.20.11 -> 1.20.12
...into staging-next
2023-12-06 07:07:05 +01:00
github-actions[bot]
035a649a67 Merge master into staging-next 2023-12-06 06:01:30 +00:00
Francois-Rene Rideau
0a1d004bf2 gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
Francois-Rene Rideau
97bb6e60f8 gerbil-unstable: 2023-10-13 -> 2023-12-05 2023-12-05 21:32:26 -05:00
Francois-Rene Rideau
8859b057e3 gerbil: 0.18 -> 0.18.1 2023-12-05 21:32:26 -05:00
Francois-Rene Rideau
edd85e866c gambit-unstable: 2023-10-07 -> 2023-12-04 2023-12-05 21:32:26 -05:00
Rick van Schijndel
ba75066821 Merge pull request #271362 from pbsds/rm-dead-patches
treewide: remove unreferenced patch files
2023-12-06 03:28:15 +01:00
Someone Serge
be9c779deb cudaPackages.setupCudaHook: propagate buildInputs and self
This is useful for the cuda variants of packages like opencv and pytorch,
whose xxxxConfig.cmake files do find_package(CUDAToolkit REQUIRED)
regardless of whether they actually use it. With the propagated hook,
we no longer have to manually add cuda dependencies into torch/opencvs
reverse dependencies

cudaPackages.cuda_nvcc: fix setupCudaHook propagation
2023-12-06 02:00:52 +00:00
github-actions[bot]
2622221e95 Merge master into staging-next 2023-12-06 00:02:22 +00:00
Jörg Thalheim
10f62d348b go_1_20: 1.20.11 -> 1.20.12
Changelog: https://go.dev/doc/devel/release#go1.20
fixes 3 CVEs: https://www.openwall.com/lists/oss-security/2023/12/05/2
2023-12-05 22:54:00 +01:00