Commit Graph

24752 Commits

Author SHA1 Message Date
Rolf Schröder
cea4885f8d corretto{11,17,21}: {11.0.23.9.1,17.0.11.9.1,21.0.3.9.1} -> {11.0.24.8.1,17.0.12.7.1,21.0.4.7.1} 2024-09-26 11:10:01 +02:00
Markus Kowalewski
80edeeefa3 mlkit: 4.7.11 -> 4.7.12 (#344110) 2024-09-26 11:01:24 +02:00
K900
a9128ce2f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-25 21:07:19 +03:00
Emily
6cdbe938ed openjfx17: fix build with Ruby 3 (#343130) 2024-09-25 15:01:53 +01:00
Tristan Ross
d55298086a llvmPackages_git: 20.0.0-git-2024-09-16 -> 20.0.0-git-2024-09-22 2024-09-25 06:59:58 -07:00
github-actions[bot]
ce44139ef1 Merge master into staging-next 2024-09-25 06:04:53 +00:00
OTABI Tomoya
205363511d osl: 1.13.10.0 -> 1.13.11.0 (#341823) 2024-09-25 12:14:10 +09:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
David McFarland
0774f8f9c2 dotnet: add patch to fix fetch-deps in dotnet 9 VMR 2024-09-24 20:43:24 -03:00
David McFarland
ae7b2ae6ee dotnet-sdk-setup-hook: fix typo in cd 2024-09-24 20:43:24 -03:00
David McFarland
3fb0ab6f59 dotnet: disable restore in test project creation 2024-09-24 20:43:24 -03:00
David McFarland
2c97d67f62 dotnet: split sdk packages by platform 2024-09-24 20:43:24 -03:00
David McFarland
4f47ddf1d7 dotnet: set sourceProvenance on binary runtime/sdk 2024-09-24 20:43:24 -03:00
David McFarland
6582132c12 dotnet: format with nixfmt 2024-09-24 20:43:22 -03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Mathew Polzin
8ed82c62be idris2Packages.pack: init at 2024-02-07 2024-09-24 09:06:11 -05:00
R. Ryantm
411b6ff24a mlkit: 4.7.11 -> 4.7.12 2024-09-24 03:13:03 +00:00
github-actions[bot]
b6b063bdc2 Merge master into haskell-updates 2024-09-24 00:16:10 +00:00
Alyssa Ross
1c953b1def Revert "llvmPackages.clangUseLLVM: add --undefined-version by default"
This reverts commit 019d091938.

My comments from the PR (which I only saw after it was merged):

> I'm not convinced this is a good idea — compiler authors turn things
> into errors for a reason, and as a distribution we have our part to
> play in getting problematic things fixed. It's fine to disable the
> errors for packages where it's not reasonably possible to get them
> fixed, but doing it globally means even packages that would be
> simple to fix properly don't get fixed.

> To expand a bit, the problem with this sort of thing is that it's
> very difficult later to tell when it can be removed. By setting this
> globally instead of setting it for individual packages that need it,
> we're effectively stuck with it forever, because it's impossible to
> tell if removing it is going to break any packages. If we mark
> packages individually, it's very easy to tell in future when those
> markings can be removed.
>
> This isn't a theoretical concern: something similar was done for
> pkgsMusl — some compatibility headers were added globally, instead
> of fixing individual affected packages, and now, even though we've
> discovered that the presence of those headers actually causes
> problems for other packages, it's impossible to know what the
> fallout would be of removing it. Let's not repeat this mistake.

So let's revert now, before it's too late.
2024-09-23 21:08:38 +02:00
github-actions[bot]
9a6f63ebed Merge master into staging-next 2024-09-23 18:04:34 +00:00
David McFarland
08513320d8 dotnet: remove nuget-package-hook from runtime packages (#343978) 2024-09-23 15:04:21 -03:00
sternenseemann
5b15a1f577 haskell.compiler.*: use symlinks from bintool wrapper if possible
Ideally we don't want to use bintools.bintools and also not really
encode knowledge of what is wrapped and what not in our GHC derivation.
Unfortunately, not all tools are part of the wrapper derivation as well.
This should be gradually improved (e.g. in the case of the darwin tools
and strip).
2024-09-23 18:44:43 +02:00
sternenseemann
5ad0f9ac30 haskell.compiler.*: let configure know about objdump
This seems to be a build time only dependency as there is no
corresponding settings entry.
2024-09-23 18:44:43 +02:00
sternenseemann
0cac1f100d haskell.compiler.*: don't declare stage0 ghc as dep to stdenv
Some GHC bindists have a normal `$out/lib` directory which contains
symlinks to all core libs. Because it is a normal lib directory, the
bintools setup hook will pick up on it and cause ld to pass the
appropriate -L and -rpath flags. We do not want this to happen,
especially in the case of the stage2 compiler. Not only will the final
ghc have an unnecessary reference (and thus increased closure size) to
the binary ghc, but the extra libraries in the rpath mess with the rts
and cause e.g. segfaults in GHCi.

Unfortunately, there is no way to prevent this. It is a fundamental flaw
in the cc and bintools wrappers that they do not actually distinguish
between the roles of dependencies (build, host, target). Instead
the mangleVar* function will translate the dependencies split up by
roles into platforms. This means that the wrappers can't distinguish
between depsBuildBuild and depsHostTarget (== buildInputs) when natively
compiling. As long as we are natively compiling the wrappers will put
the stage0 ghc (be it in depsBuildBuild, nativeBuildInputs etc.) into
the linker flags of the final ghc.

The solution is to sidestep the issue. We just had ghc in depsBuildBuild
to have it added to PATH. GHC itself will pass the appropriate linker
flags if necessary. To avoid the setup hooks picking up on the GHC
libraries we just don't put it into depsBuildBuild or any other
dependency list. Since the GHC build system accepts the GHC binary via
an absolute path, we don't even need to add the stage0 GHC to PATH.
2024-09-23 18:44:43 +02:00
David McFarland
1b32f1b57c dotnet: remove nuget-package-hook from runtime packages 2024-09-23 11:44:07 -03:00
Maciej Krüger
9d0ac32117 flutter: fix iOS/macOS builds in nix-shell (#341470) 2024-09-23 14:29:04 +02:00
github-actions[bot]
3abd3dab62 Merge master into haskell-updates 2024-09-23 00:16:29 +00:00
github-actions[bot]
3625d99bb2 Merge master into staging-next 2024-09-23 00:14:30 +00:00
Fabián Heredia Montiel
ef54fc5394 jetbrains.jdk: 21.0.3b509.11 -> 21.0.4b598.4 (#343773) 2024-09-22 17:04:04 -06:00
Pol Dellaiera
ab080a5234 dart: 3.5.2 -> 3.5.3 (#343660) 2024-09-22 22:33:21 +02:00
Fabián Heredia Montiel
9b2a506736 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:

- pkgs/tools/package-management/nix/default.nix
2024-09-22 13:45:27 -06:00
Tristan Ross
464d8f5eff llvmPackages.*: Add devExtraCmakeFlags parameter (#342040) 2024-09-22 11:29:19 -07:00
Tristan Ross
25e07e7c53 llvmPackages: Reinstate overriding across whole package set (#341855) 2024-09-22 11:03:58 -07:00
Fabián Heredia Montiel
5c771a5b71 jetbrains.jdk: 21.0.3b509.11 -> 21.0.4b598.4 2024-09-22 12:03:31 -06:00
Nick Cao
e96234fe44 cairo-lang: 2.8.0 -> 2.8.2 (#343455) 2024-09-22 10:52:17 -04:00
Leonardo Taglialegne
27fe8596dc Lamdera 1.3.0 2024-09-22 11:18:34 +02:00
R. Ryantm
e6cdb97219 dart: 3.5.2 -> 3.5.3 2024-09-22 05:30:11 +00:00
github-actions[bot]
7a58baed99 Merge master into haskell-updates 2024-09-22 00:17:35 +00:00
github-actions[bot]
94770996ae Merge master into staging-next 2024-09-22 00:15:32 +00:00
Emily
e1ac53d9d6 {gyroflow,openjfx{11,17,21,22}}: unpin FFmpeg 7
These pins landed on `master` after the mass unpin on `staging`
in 61922738bb.
2024-09-21 21:34:40 +01:00
R. Ryantm
e00344c04a graalvm-ce: 22.0.2 -> 23.0.0 2024-09-21 14:52:16 +00:00
R. Ryantm
60367277c6 cairo-lang: 2.8.0 -> 2.8.2 2024-09-21 08:19:48 +00:00
Vladimír Čunát
217131bae8 glslang: build shared libraries (#342459) 2024-09-21 09:16:10 +02:00
github-actions[bot]
93d142112e Merge master into haskell-updates 2024-09-21 00:15:10 +00:00
github-actions[bot]
754402a237 Merge staging-next into staging 2024-09-21 00:13:41 +00:00
Nick Cao
ca5ec7cb05 erg: 0.6.43 -> 0.6.44 (#343022) 2024-09-20 18:11:20 -04:00
Vladimír Čunát
268e483412 orc: 0.4.39 -> 0.4.40 (#342220) 2024-09-20 18:45:10 +02:00
K900
5a9d1835e1 glibc: 2.39-52 -> 2.40-36 (#342073) 2024-09-20 19:42:37 +03:00
Daniel Nagy
e51ed7ef17 chickenPackages.chickenEggs.webview: repair 2024-09-20 17:15:00 +02:00
github-actions[bot]
33e2cbc61f Merge staging-next into staging 2024-09-20 12:05:56 +00:00