Commit Graph

136 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Weijia Wang
d75618dc7a
graalvm-ce: 23.0.0 -> 23.0.1 (#359838) 2024-12-09 18:31:33 +01:00
Wolfgang Walther
616ecb305e
graalvmCEPackages.graalpy: 24.0.1 -> 24.1.1 (#358439) 2024-12-08 17:11:09 +01:00
Wolfgang Walther
b9104d21b9
graalvmCEPackages.truffleruby: 24.0.1 -> 24.1.1 (#358440) 2024-12-08 17:10:47 +01:00
Wolfgang Walther
6f0aa869f9
graalvmCEPackages.graalnodejs: 24.0.1 -> 24.1.1 (#358434) 2024-12-08 17:07:31 +01:00
Domen Kožar
9888edd1e7
buildGraalvm: fix build on x86_64-darwin (#360254) 2024-12-02 22:47:28 +00:00
Nathan Regner
83b526817a buildGraalvm: fix build on x86_64-darwin 2024-12-01 10:05:39 -07:00
R. Ryantm
a4d88020d8 graalvm-ce: 23.0.0 -> 23.0.1 2024-11-28 12:21:20 +00:00
R. Ryantm
9c3233afc4 graalvmCEPackages.graaljs: 24.0.1 -> 24.1.1 2024-11-23 16:21:01 +00:00
R. Ryantm
dd0977818d graalvmCEPackages.truffleruby: 24.0.1 -> 24.1.1 2024-11-23 13:53:07 +00:00
R. Ryantm
1493059fb9 graalvmCEPackages.graalpy: 24.0.1 -> 24.1.1 2024-11-23 13:48:43 +00:00
R. Ryantm
e51543cab8 graalvmCEPackages.graalnodejs: 24.0.1 -> 24.1.1 2024-11-23 13:39:11 +00:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Pavel Shirshov
bc1bc1aa33 graalvm-ce: fix native-image standalone usage by wrapping Nix env variables
Closes #350909.
2024-10-27 12:22:11 +00:00
Thiago Kenji Okada
023bdebe77 buildGraalvm: move files in $out to $out/share
Like $out/LICENSE.txt since this is generally a bad idea and can cause
conflicts with other packages.

Fixes #345907.
2024-10-03 14:43:14 +01: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
R. Ryantm
e00344c04a graalvm-ce: 22.0.2 -> 23.0.0 2024-09-21 14:52:16 +00:00
R. Ryantm
974c3a1956 graalvm-ce: 22.0.1 -> 22.0.2 2024-07-24 07:19:42 +00:00
Thiago Kenji Okada
2ba084c79b graalvmCEPackages.graaljs: 23.1.0 -> 24.0.1 2024-07-15 15:29:24 +01:00
Thiago Kenji Okada
3cb8078b3b graalvmCEPackages.graalnodejs: 23.1.0 -> 24.0.1 2024-07-15 15:27:37 +01:00
Thiago Kenji Okada
131f822e17 graalvm-ce: 22.0.0 -> 22.0.1 2024-07-15 15:20:53 +01:00
R. Ryantm
86bc041077 graalvmCEPackages.truffleruby: 24.0.0 -> 24.0.1 2024-04-20 05:13:47 +00:00
R. Ryantm
4ff0c0ad57 graalvmCEPackages.graalpy: 24.0.0 -> 24.0.1 2024-04-18 20:38:37 +00:00
Thiago Kenji Okada
e1a7ec5583 graalvm-ce: make it a scope 2024-03-26 15:48:02 +00:00
Thiago Kenji Okada
2fea245936 buildGraalvm: use macOS SDK 11
Fix x86_64-darwin builds.
2024-03-26 14:45:17 +00:00
Thiago Kenji Okada
a98e9f4892 buildGraalvm: fix native-image warnings in installCheckPhase 2024-03-26 14:12:20 +00:00
Thiago Kenji Okada
38d8d0e7ea
Merge pull request #297436 from r-ryantm/auto-update/graalvmCEPackages.graalpy
graalvmCEPackages.graalpy: 23.1.2 -> 24.0.0
2024-03-21 20:58:27 +00:00
Thiago Kenji Okada
3373acf729
Merge pull request #297515 from r-ryantm/auto-update/graalvmCEPackages.truffleruby
graalvmCEPackages.truffleruby: 23.1.2 -> 24.0.0
2024-03-21 20:58:12 +00:00
R. Ryantm
ad0a373abd graalvmCEPackages.truffleruby: 23.1.2 -> 24.0.0 2024-03-20 18:53:54 +00:00
R. Ryantm
3dcd508956 graalvmCEPackages.graalpy: 23.1.2 -> 24.0.0 2024-03-20 11:19:11 +00:00
R. Ryantm
ac4ed5dd63 graalvm-ce: 21.0.2 -> 22.0.0 2024-03-19 19:29:14 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
27ec1c9b87 graalvm-ce: 21.0.1 -> 21.0.2 2024-01-23 03:31:30 +00:00
R. Ryantm
e87c2dd226 graalvmCEPackages.truffleruby: 23.1.1 -> 23.1.2 2024-01-19 18:18:22 +00:00
R. Ryantm
08e312ac19 graalvmCEPackages.graalpy: 23.1.1 -> 23.1.2 2024-01-18 17:22:26 +00:00
Thiago Kenji Okada
a92e6068b4 buildGraalvm: use NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION instead of CC wrapper
Instead of using a hacky CC wrapper to re-inject the environment
variables needed to build, we set the
NATIVE_IMAGE_DEPRECATED_BUILDER_SANITATION=true that is in 21.0.0
release changelog:
489611a304/substratevm/CHANGELOG.md (L48)

This is deprecated behavior for now, and will be removed in future, but
this will allow us more time until we figure a proper solution.

See:
- https://github.com/oracle/graal/issues/7502
- https://github.com/oracle/graal/issues/7981
- https://github.com/oracle/graal/pull/6095
2023-12-13 16:12:04 +00:00
Thiago Kenji Okada
da7a0ff844
Merge pull request #264034 from r-ryantm/auto-update/graalvmCEPackages.graalpy
graalvmCEPackages.graalpy: 23.1.0 -> 23.1.1
2023-10-29 09:53:13 +00:00
Thiago Kenji Okada
f9248c32dc
Merge pull request #264033 from r-ryantm/auto-update/graalvmCEPackages.truffleruby
graalvmCEPackages.truffleruby: 23.1.0 -> 23.1.1
2023-10-29 09:52:47 +00:00
R. Ryantm
5b007e6148 graalvmCEPackages.graalpy: 23.1.0 -> 23.1.1 2023-10-28 20:52:36 +00:00
R. Ryantm
da8eff2e19 graalvmCEPackages.truffleruby: 23.1.0 -> 23.1.1 2023-10-28 20:52:06 +00:00
R. Ryantm
9586930ab6 graalvm-ce: 21.0.0 -> 21.0.1 2023-10-28 20:21:08 +00:00
Thiago Kenji Okada
6a8719229c graalvmCEPackages: some fixes to update.sh script 2023-09-28 16:03:54 +01:00
Thiago Kenji Okada
cfeeda0704 graalVMPackages.graalvm-ce-musl: init at 21.0.0
Exposing this derivation so it is easier to test and use.
2023-09-27 22:54:55 +01:00
Thiago Kenji Okada
7457b3cec3 graalvmCEPackages.buildGraalvmProduct: add Foundation to buildInputs 2023-09-27 22:29:22 +01:00
Thiago Kenji Okada
61b910555e graalvmCEPackages.buildGraalvm: fix native-image compilation 2023-09-27 22:18:56 +01:00
Thiago Kenji Okada
924991888a graalvmCEPackages: refactor 2023-09-27 16:22:24 +01:00
Thiago Kenji Okada
55d52249a7 graalvmCEPackages.buildGraalvm: mark as broken in darwin 2023-09-27 14:14:26 +01:00
Thiago Kenji Okada
8bf7e83c09 graalvmCEPackages.buildGraalvmProduct: fix build in darwin 2023-09-27 10:25:45 +01:00
Thiago Kenji Okada
76f51c0366 graalvmCEPackages: normalize package platforms in update.sh script 2023-09-27 10:25:45 +01:00
Thiago Kenji Okada
3e9ecc840b graalvmCEPackages: reorganize each product in its own subdirectory 2023-09-27 10:25:45 +01:00