Commit Graph

12496 Commits

Author SHA1 Message Date
R. Ryantm
57627e479e closurecompiler: 20220601 -> 20220719 2022-07-30 14:56:21 +00:00
github-actions[bot]
5ebd4b10df
Merge master into staging-next 2022-07-30 12:01:30 +00:00
Thiago Kenji Okada
c01ab9eecc
Merge pull request #183088 from jlesquembre/graal-22.2.0
graalvm-ce: 22.1.0 -> 22.2.0
2022-07-30 10:48:58 +01:00
github-actions[bot]
93fa8bacfb
Merge master into staging-next 2022-07-30 06:01:19 +00:00
Anderson Torres
295ce69fae
Merge pull request #183581 from r-ryantm/auto-update/4th
_4th: 3.64.0 -> 3.64.1
2022-07-29 22:49:26 -03:00
Anderson Torres
869ee59fe2
Merge pull request #183650 from r-ryantm/auto-update/jwasm
jwasm: 2.14 -> 2.15
2022-07-29 22:48:55 -03:00
github-actions[bot]
093f236f30
Merge master into haskell-updates 2022-07-30 00:13:25 +00:00
github-actions[bot]
50de8aa60e
Merge master into staging-next 2022-07-29 18:01:27 +00:00
R. Ryantm
5960a2d1b4 jwasm: 2.14 -> 2.15 2022-07-29 12:01:31 +00:00
Josh Holland
8a156b259a julia-bin: add meta.mainProgram 2022-07-29 12:00:02 +01:00
github-actions[bot]
dc9426f3b8
Merge staging-next into staging 2022-07-29 06:01:59 +00:00
R. Ryantm
fc630be0e4 gleam: 0.21.0 -> 0.22.1 2022-07-29 00:20:09 -04:00
R. Ryantm
9a1aa7d8ae _4th: 3.64.0 -> 3.64.1 2022-07-29 03:51:15 +00:00
github-actions[bot]
3c0b8e78a9
Merge master into haskell-updates 2022-07-29 00:13:37 +00:00
github-actions[bot]
a2df1eb5b9
Merge staging-next into staging 2022-07-29 00:03:05 +00:00
Mario Rodas
7a2d461bf2
Merge pull request #183271 from r-ryantm/auto-update/cmdstan
cmdstan: 2.30.0 -> 2.30.1
2022-07-28 14:15:45 -05:00
Robert Hensing
61a510bdcb
Merge pull request #177232 from asbachb/remove/oldjdk
oraclejdk14: Removed as it's end of life since 09/2020
2022-07-28 20:10:47 +02:00
sternenseemann
7f909b041b haskell.compiler: ghc923 -> ghc924
https://www.haskell.org/ghc/download_ghc_9_2_4.html
2022-07-28 18:09:33 +02:00
Bernardo Meurer
88c63ca65a
Merge pull request #182513 from trofi/strip-for-host-and-target
gcc: enable stripping for cross-compilers
2022-07-28 00:30:49 -07:00
github-actions[bot]
c5298a170d
Merge staging-next into staging 2022-07-27 18:02:13 +00:00
github-actions[bot]
f6895f13b0
Merge master into staging-next 2022-07-27 18:01:33 +00:00
José Luis Lafuente
dae7b421f7
graalvm-ce: 22.1.0 -> 22.2.0 2022-07-27 12:57:41 +02:00
github-actions[bot]
c419834223
Merge master into haskell-updates 2022-07-27 00:16:24 +00:00
github-actions[bot]
54f2dacce1
Merge staging-next into staging 2022-07-27 00:03:09 +00:00
github-actions[bot]
f110f87498
Merge master into staging-next 2022-07-27 00:02:31 +00:00
Sandro
7366559383
Merge pull request #182124 from willcohen/emscripten-3.1.16
emscripten: 3.1.15 -> 3.1.17
2022-07-26 21:30:31 +02:00
sternenseemann
078346d55e haskell.compiler.ghc941: init at 9.4.0.20220721 2022-07-26 21:09:03 +02:00
Austin Seipp
4cd955979c bluespec: set mainProgram=bsc
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2022-07-26 13:25:23 -05:00
github-actions[bot]
b21eff1a41
Merge staging-next into staging 2022-07-26 18:02:15 +00:00
github-actions[bot]
1071ab374f
Merge master into staging-next 2022-07-26 18:01:32 +00:00
Sandro
3bbb296d9a
Merge pull request #178973 from r-ryantm/auto-update/closure-compiler
closurecompiler: 20220502 -> 20220601
2022-07-26 17:40:41 +02:00
Will Cohen
3a46b467ac emscripten: 3.1.15 -> 3.1.17 2022-07-26 09:30:36 -04:00
Florian Klink
4d1e04c00f go_1_18: backport CL417615
Upstream reverted cmd/compile: revert "fix missing dict pass for type
assertions", as it's causing compilation errors in programs like gopass
- see https://github.com/gopasspw/gopass/issues/2280 and
https://github.com/NixOS/nixpkgs/issues/182440.

The revert has already been cherry-picked to HEAD, but there's no
backport release yet. This can be reverted once there's a new release
with that commit.
2022-07-26 09:24:40 +10:00
Sergei Trofimovich
eece5d0dc0 gcc: enable stripping for cross-compilers
With explicit support for distinction between Host and Target strip paths
we can now safely strip ELF binaries with their according strip tools
without fear of damaging binaries due to architecture mismatch.

Closure size change for `pkgsCross.mingwW64.gcc12Stdenv.cc.cc`:

    # before:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-debug-12.1.0           2.5G

    # after:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-12.1.0         1.5G
2022-07-25 11:06:58 +01:00
github-actions[bot]
3a848d77a3
Merge staging-next into staging 2022-07-24 18:02:10 +00:00
Sergei Trofimovich
c7062b9769
Merge pull request #181994 from trofi/gcc-drop-outdated-sed
gcc: drop outdated sed for system headers clobber
2022-07-24 15:01:22 +01:00
Sergei Trofimovich
f315837ee4
Merge pull request #182377 from trofi/fix-sbcl-on-aarch64-darwin
sbcl_2_1_10, sbcl_2_1_11: fix build on arm64-darwin (-fno-common fall…
2022-07-24 14:48:21 +01:00
Sergei Trofimovich
ea8e124000 gcc: always enable inhibit_libc=true for --without-headers builds
It's a follow-up to the breakage caused by 21966e13d2
("gcc: pass --with-build-sysroot=/"). It caused `pkgsLLVM`
cross-toolchain bootstrap breakage:

    $ nix build --no-link -f. pkgsLLVM.hello
    ...
    failed: /nix/store/...-x86_64-unknown-linux-gnu-stage-static-gcc-13.0.0.drv:
    ...
    configure flags: ... --enable-languages=c --disable-multilib \
      --disable-shared --enable-plugin ... --disable-libssp --disable-nls \
      --without-headers --disable-threads --disable-libgomp --disable-libquadmath \
      --disable-shared --disable-libatomic --disable-decimal-float --disable-libmpx \
      --disable-bootstrap \
      \
      --build=x86_64-unknown-linux-gnu \
      --host=x86_64-unknown-linux-gnu \
      --target=x86_64-unknown-linux-gnu
    ...
    The directory that should contain system headers does not exist:
      /usr/include
    make[2]: *** [Makefile:3279: stmp-fixinc] Error 1 shuffle=1658621302
    rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod
    make[2]: Leaving directory '/build/build/gcc'

Note: it's a no-libc build. It's not expected to use any libc headers.
But in this case fixincludes tries to run and uses default /usr/include
location.

Fixinsludes is not normally expected to run during cross-compilation
on --without-headers. gcc/configure.ac:

    : ${inhibit_libc=false}
    if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
           test x$with_newlib = xyes ; } &&
         { test "x$with_headers" = xno || test ! -f "$target_header_dir/stdio.h"; } ; then
           inhibit_libc=true
    fi

The change explicitly passes inhibit_libc=true to configure to disable
include fixing on such cases.

Fixed `nix build --no-link -f. pkgsLLVM.hello` toolchain bootstrap.
2022-07-24 09:54:49 +01:00
John Ericson
21966e13d2
Merge pull request #181943 from trofi/fix-cross-built-gcc
gcc: pass --with-build-sysroot=/
2022-07-23 23:52:07 -04:00
Jan Tojnar
b29a70086f
Merge pull request #182588 from jtojnar/gnome-staging
GNOME staging updates
2022-07-23 21:40:41 +02:00
Sergei Trofimovich
34636efced gcc: pass --with-build-sysroot=/ for gcc builds
Without this change cross-built gcc fails to detect stack protector style:

    $ nix log -f pkgs/stdenv/linux/make-bootstrap-tools-cross.nix powerpc64le.bootGCC | fgrep __stack_chk_fail
    checking __stack_chk_fail in target C library... no
    checking __stack_chk_fail in target C library... no

It happens because gcc treats search paths differently:

    https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/configure.ac;h=446747311a6aec3c810ad6aa4190f7bd383b94f7;hb=HEAD#l2458

     if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x ||
        test x$build != x$host || test "x$with_build_sysroot" != x; then
       ...
       if test "x$with_build_sysroot" != "x"; then
         target_header_dir="${with_build_sysroot}${native_system_header_dir}"
       elif test "x$with_sysroot" = x; then
         target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-include"
       elif test "x$with_sysroot" = xyes; then
         target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-root${native_system_header_dir}"
       else
         target_header_dir="${with_sysroot}${native_system_header_dir}"
       fi
     else
       target_header_dir=${native_system_header_dir}
     fi

By passing --with-build-sysroot=/ we trick cross-case to use
`target_header_dir="${with_sysroot}${native_system_header_dir}"`
which makes it equivalent to non-cross
`target_header_dir="${with_build_sysroot}${native_system_header_dir}"`

Tested the following setups:
- cross-compiler without libc headers (powerpc64le-static)
- cross-compiler with libc headers (powerpc64le-debug)
- cross-build compiler with libc headers (powerpc64le bootstrapTools)

Before the change only 2 of 3 compilers detected libc headers.
After the change all 3 compilers detected libc headers.

For darwin we silently ignore '-syslibroot //' argument as it does not
introduce impurities.

While at it dropped mingw special case for no-libc build. Before the change
we passed both '--without-headers --with-native-system-headers-dir' for
no-libc gcc-static builds. This tricked darwin builds to find sys/sdt.h
and fail inhibid_libc builds. Now all targets avoid passing native headers
for gcc-static builds.

While at it fixed correct headers passing to
--with-native-system-headers-dir= in host != target case: we were passing
host's headers where intention was to pass target's headers.
Noticed the mismatch as a build failure on pkgsCross.powernv.stdenv.cc
on darwin where `sys/sdt.h` is present in host's headers (libSystem)
but not target's headers (`glibc`).

Co-authored-by: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>
2022-07-23 18:40:07 +01:00
Jan Tojnar
c8cbb6ff4e vala: 0.56.1 → 0.56.2
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.1...0.56.2
2022-07-23 17:21:35 +02:00
github-actions[bot]
c3b55bb331
Merge master into staging-next 2022-07-22 18:01:23 +00:00
Brian Leung
62ab1e3d0b kaitai-struct-compiler: 0.9 -> 0.10 2022-07-22 08:41:27 -07:00
Sergei Trofimovich
26326511ef sbcl_2_1_10, sbcl_2_1_11: fix build on arm64-darwin (-fno-common fallout)
Withut this upstream backport build on arm64-drwin fails as:

    duplicate symbol '_os_vm_page_size' in:
        os-common.o
        arm64-bsd-os.o
2022-07-21 22:08:27 +01:00
github-actions[bot]
9dbe8733d5
Merge staging-next into staging 2022-07-21 06:02:02 +00:00
Anderson Torres
b73f704a2f
Merge pull request #178567 from Artturin/pkgconfignew
makePkgconfigItem: init new function to generate pc files
2022-07-20 23:31:58 -03:00
Bernardo Meurer
63e4402739 gnu-cobol: refactor
This is a major refactoring of the gnu-cobol package, which gives us:

1. Split outputs, allowing for small container images for COBOL
   applications.
2. Tests running (for Linux)
3. Parallel building
4. Documentation building
5. XML and JSON support

Co-authored-by: Chad Crawford <chad@cacrawford.org>
2022-07-20 15:14:32 -07:00
Vladimír Čunát
cd58423b4c
Merge #181798: llvm14: Skip broken tests on riscv
...into staging
2022-07-20 20:56:21 +02:00
github-actions[bot]
659bbdd994
Merge staging-next into staging 2022-07-20 18:02:16 +00:00
Sergei Trofimovich
cb63ee9ff8
Merge pull request #181999 from trofi/gcc-clean-up-configureFlags
gcc: turn configureFlags into a sigle list, not nested list
2022-07-20 15:46:36 +01:00
github-actions[bot]
9c32c81a99
Merge staging-next into staging 2022-07-20 06:02:01 +00:00
Mario Rodas
a71cc944ad
Merge pull request #180648 from r-ryantm/auto-update/cmdstan
cmdstan: 2.29.2 -> 2.30.0
2022-07-19 23:18:47 -05:00
Artturin
c6a9d069e9 tinycc: use makePkgconfigItem 2022-07-20 06:24:20 +03:00
Anderson Torres
5342fc6fb5
Merge pull request #182030 from AndersonTorres/tcc
tinycc: 2022-01-11 -> 2022-07-15
2022-07-19 23:53:52 -03:00
zowoq
8bf97d639d
rustc: 1.62.0 -> 1.62.1 (#182140)
https://github.com/rust-lang/rust/releases/tag/1.62.1
2022-07-20 12:34:37 +10:00
AndersonTorres
7fda0dfa9a tinycc: 2022-01-11 -> 2022-07-15 2022-07-18 23:38:03 -03:00
github-actions[bot]
d64d75f2f3
Merge master into staging-next 2022-07-19 00:02:21 +00:00
Marek Fajkus
d5765d5150
elmPackages.elm-json: 0.2.10 -> 0.2.12 2022-07-18 22:26:48 +02:00
Sergei Trofimovich
69da37a8fd gcc: turn configureFlags into a sigle list, not nested list
Before the change:

    $ nix repl pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
    nix-repl> :p powerpc64le.bootGCC.configureFlags
    [ ... "--enable-targets=powerpcle-linux" [ "--with-long-double-128" ] "--target=powerpc64le-unknown-linux-gnu" ]

After the change:

    nix-repl> :p powerpc64le.bootGCC.configureFlags
    [ ... "--enable-targets=powerpcle-linux" "--with-long-double-128" "--target=powerpc64le-unknown-linux-gnu" ]
2022-07-18 19:10:22 +01:00
Sergei Trofimovich
769956d65b gcc: drop outdated sed for system headers clobber
When reviewing https://github.com/NixOS/nixpkgs/pull/181802#issuecomment-1186834504
I noticed outdated code that attempted to override /usr/include.

    sed -i \
        -e "s,glibc_header_dir=/usr/include,glibc_header_dir=$libc_dev/include", \
        gcc/configure

`glibc_header_dir` was removed from `gcc-4.6` and later in
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=6961669f48aa18168b2d7daa7e2235fbec7cb636
(Dec 2010, "(gcc_cv_ld_eh_frame_hdr): Only check GNU ld for  --eh-frame-hdr.").

Since then gcc got `--with-native-system-header-dir=` which `nixpkgs` uses
for all packaged `gcc` versions.

The change should be a no-op.
2022-07-18 18:55:58 +01:00
github-actions[bot]
71fe747e70
Merge master into staging-next 2022-07-18 12:01:55 +00:00
Dennis Gosnell
e436d5c9d8
Merge pull request #181915 from r-ryantm/auto-update/purescript
purescript: 0.15.2 -> 0.15.4
2022-07-18 17:15:06 +09:00
R. Ryantm
622952b45e purescript: 0.15.2 -> 0.15.4 2022-07-18 07:33:09 +00:00
Vladimír Čunát
250922fd1e
Merge branch 'master' into staging-next 2022-07-18 08:29:53 +02:00
Dennis Gosnell
99b97a71d9
Merge pull request #175501 from amjoseph-nixpkgs/pr/sourceProvenance/purescript
purescript: mark meta.sourceProvenance
2022-07-18 13:31:44 +09:00
Bernardo Meurer
d9a7945a7e dotnet: fix compilation on darwin 2022-07-17 13:35:26 -07:00
Guillaume Girol
ad77f20359
Merge pull request #166033 from bcc32/js-015
ocamlPackages.janeStreet: 0.14 -> 0.15
2022-07-17 15:21:36 +00:00
Luiz Ribeiro
c743308438 llvm14: Skip broken tests on riscv 2022-07-16 22:50:41 -05:00
Vladimír Čunát
0879ac5da6
Merge branch 'master' into staging-next 2022-07-16 20:07:05 +02:00
Anderson Torres
3bb0ae1512
Merge pull request #181432 from aiotter/patch-2
zig: build on darwin
2022-07-16 11:02:48 -03:00
Rick van Schijndel
e243499338
Merge pull request #173889 from IvarWithoutBones/fix/dotnet-cross
dotnet ecosystem: fix cross compilation
2022-07-16 12:37:11 +02:00
github-actions[bot]
47a4aab0aa
Merge master into staging-next 2022-07-16 06:01:15 +00:00
aiotter
036b52f824 maintainers: add aiotter 2022-07-16 14:57:54 +09:00
aiotter
98ee102955 zig: build for darwin 2022-07-16 14:57:36 +09:00
Sandro
f4be6ad88d
Merge pull request #181284 from qowoz/go117
go_1_17: 1.17.11 -> 1.17.12
2022-07-16 02:44:02 +02:00
github-actions[bot]
fa96a4fa79
Merge master into staging-next 2022-07-16 00:02:26 +00:00
Sandro
4fc6705e2b
Merge pull request #181362 from willcohen/emscripten
emscripten: 3.1.14 -> 3.1.15
2022-07-16 01:06:15 +02:00
github-actions[bot]
1a74c5d703
Merge master into staging-next 2022-07-14 18:01:27 +00:00
Ethin Probst
6e6436963d
gnatboot: 4.1 -> 11.2.0-4 (#177579)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-14 14:14:58 +02:00
github-actions[bot]
4831214ba4
Merge master into staging-next 2022-07-14 06:01:25 +00:00
zowoq
e4f3664e62 go_1_18: 1.18.3 -> 1.18.4 2022-07-14 12:29:03 +10:00
Will Cohen
c877fee9ae emscripten: 3.1.14 -> 3.1.15 2022-07-13 09:09:26 -04:00
github-actions[bot]
9e8540af02
Merge master into staging-next 2022-07-13 12:01:13 +00:00
Sandro
48c34e4097
Merge pull request #180777 from elliottslaughter/terra-1.0.4
terra: 1.0.0-beta5 -> 1.0.4
2022-07-13 11:50:45 +02:00
Vladimír Čunát
8169a7fce0
Merge branch 'master' into staging-next 2022-07-13 09:57:41 +02:00
Ben Siraphob
01b8587401
Merge pull request #181051 from jiegec/mono
mono: 6.12.0.122 -> 6.12.0.182
2022-07-12 18:16:39 -07:00
zowoq
6b6a73f53e go_1_17: 1.17.11 -> 1.17.12 2022-07-13 07:58:40 +10:00
zowoq
8b4718e736 zig_0_8_1: remove 2022-07-13 07:46:10 +10:00
Artturin
83b4764dc3 treewide: fix fallout from 'cmake/setup-hook.sh: Don't skip build-RPATH'
f7414e2b3a
2022-07-12 18:25:19 +03:00
Peter Hoeg
de29ce21e9 crystal2nix: 0.1.1 -> 0.3.0 2022-07-12 21:00:11 +08:00
Thomas Tuegel
e1e0d5d513
Merge pull request #108496 from knedlsepp/cmake-rpath
cmake/setup-hook.sh: Don't skip build-RPATH
2022-07-11 10:18:47 -05:00
Jiajie Chen
600133b855 mono: 6.12.0.122 -> 6.12.0.182 2022-07-11 14:12:10 +08:00
github-actions[bot]
55e8459a46
Merge staging-next into staging 2022-07-11 00:04:08 +00:00
Mario Rodas
03355bfa23
Merge pull request #180627 from r-ryantm/auto-update/carp
carp: 0.5.4 -> 0.5.5
2022-07-10 16:58:33 -05:00
Sandro
46b20743b1
Merge pull request #180774 from LibreCybernetics/update-kotlin
kotlin{-native}: 1.7.0 → 1.7.10
2022-07-10 20:33:43 +02:00
github-actions[bot]
05798fee88
Merge staging-next into staging 2022-07-10 18:01:55 +00:00
Sergei Trofimovich
cd2bab453c
Merge pull request #180573 from ivan/llvm-14.0.6
llvmPackages_14: 14.0.1 -> 14.0.6
2022-07-10 17:10:49 +01:00
Sergei Trofimovich
a836e72398
Merge pull request #180824 from trofi/fix-gcc-12-for-musl
pkgsMusl.gcc12: backport build fix (PR106102)
2022-07-10 17:10:13 +01:00
github-actions[bot]
4bff9bab6b
Merge staging-next into staging 2022-07-10 12:02:29 +00:00