Commit graph

9976 commits

Author SHA1 Message Date
github-actions[bot] e9ca8c2796
Merge master into haskell-updates 2021-07-17 00:05:09 +00:00
Fabián Heredia Montiel 37d73021ee idris2: fix packagePaths issue
packagePaths changed between idris2 `v0.3.0` and `v0.4.0` and now
includes a version number in the path.

Fixes nixos/nixpkgs#130310

Co-authored-by: zseri <zseri.devel@ytrizja.de>
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2021-07-15 21:50:33 -05:00
github-actions[bot] 873ebe9785
Merge master into haskell-updates 2021-07-15 00:05:17 +00:00
zowoq 53caacaf56
Merge pull request #130111 from maxeaubrey/go_1.15.14_1.16.6
go_1_15: 1.15.13 -> 1.15.14, go_1_16: 1.16.5 -> 1.16.6
2021-07-14 13:02:18 +10:00
github-actions[bot] 6e10550c38
Merge master into haskell-updates 2021-07-14 00:05:23 +00:00
Ryan Mulligan 4036bb94c7
Merge pull request #130088 from r-ryantm/auto-update/jrsonnet
jrsonnet: 0.4.1 -> 0.4.2
2021-07-13 09:05:09 -07:00
Maxine Aubrey 4695639fde
go_1_16: 1.16.5 -> 1.16.6 2021-07-13 17:55:35 +02:00
Maxine Aubrey 25eb6344d0
go_1_15: 1.15.13 -> 1.15.14 2021-07-13 17:55:25 +02:00
sternenseemann 54e1d5a3e6 haskell.compiler.ghc865Binary: mark as broken when built with musl
The musl support for binary GHC 8.6.5 relied on ABI compat between musl
and glibc which is no longer the case: https://github.com/NixOS/nixpkgs/issues/129247

Since there is no upstream musl (alpine) bindist for GHC 8.6.5, we can
only accept that binary 8.6.5 is not possible with musl.
2021-07-13 14:36:42 +02:00
R. RyanTM 3e5c6c24d6 jrsonnet: 0.4.1 -> 0.4.2 2021-07-13 11:07:27 +00:00
github-actions[bot] 10be3b5eed
Merge master into haskell-updates 2021-07-13 00:05:23 +00:00
Pavol Rusnak d66917c4df
gcc-arm-embedded: use numVersion as version, rename version to release
followup to 009668465e
2021-07-12 13:11:40 +02:00
Sirio Balmelli 009668465e
gcc-arm-embedded: add numVersion attribute for convenience
There are builds which rely on having the numeric version of gcc (eg "10.2.1")
declared in an environment variable.

Running 'arm-none-eabi-gcc --version' returns:
"arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)"

However, the attribute arm-none-eabi-gcc.version is "10-2020-q4-major",
from which there is no way to derive "10.2.1".

Contrast this with the attribute gcc.version which (at this time) gives "10.3.0".

By adding a numVersion attribute, consumers of this package can
correctly determine what GCC version is being executed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2021-07-12 12:29:46 +02:00
Niklas Hambüchen c114cd459e
Merge pull request #129289 from nh2/issue-129247-ghc-musl-fixes
Fix GHC not building with musl
2021-07-12 05:02:58 +02:00
Maas Lalani 93d219c8b6
fennel: init at 0.9.2 2021-07-11 11:47:19 -04:00
Peter Simons efa318ad55
Merge pull request #129800 from r-ryantm/auto-update/gprolog
gprolog: 1.4.5 -> 1.5.0
2021-07-10 11:41:17 +02:00
Niklas Hambüchen 63b1e6e489 ghc*-binary: Remove no-op --with-gmp-libraries 2021-07-10 02:49:42 +02:00
Niklas Hambüchen c6a77590e3 haskell.compiler.ghc8102Binary: Split ghcBinDists set into default and musl.
This allows to implement the "HACK" mentioned in the commit to
build `pkgsMusl` GHCs on Hydra without failing evaluation on Darwin.

Reference of the discussion:
https://github.com/NixOS/nixpkgs/pull/129289#discussion_r663956747

Patch contributed by @sterni.
2021-07-10 02:49:42 +02:00
Niklas Hambüchen f4e62a996f pkgsMusl.haskell.compiler.ghc{8104,884,901,HEAD}: Disable sphinx for musl
Adds new package options:

* enableDocs
* enableHaddockProgram

to control whether to build Sphinx docs, and GHC haddocks and the
haddock program.

Unfortunately currently the building of the `haddock `program
and generating GHC docs are mixed into one option, see:
https://gitlab.haskell.org/ghc/ghc/-/issues/20077

Making Sphinx docs disableable, and disabling them by default
for Musl and cross builds, makes it much easier to provide these
builds without having to support Sphinx's enormous dependency
tree for those ways of building.
2021-07-10 02:49:42 +02:00
Niklas Hambüchen 8adcd39504 ghc: Add comments about hardeningDisable pie for musl 2021-07-10 02:49:42 +02:00
Niklas Hambüchen 8b15fccf8a pkgsMuslhaskell.compiler.{ghc884,ghc8104}: Use GHC 8.10 as bootstrap compiler.
This addresses the fact that `ghc865Binary` segfaults on musl
(see #118731) because of the glibc+musl mix used in there.

With the previous commits, `ghc8102Binary` was changed to use
the musl-based bindist from GHC HQ instead, which works.

With this change, all nix Haskell compilers builds on musl:

    NIX_PATH=nixpkgs=. nix-build --no-link --expr 'with import <nixpkgs> {}; { inherit (pkgsMusl.haskell.compiler) ghc884 ghc8104 ghc901 ghcHEAD; }'
2021-07-10 02:49:42 +02:00
Niklas Hambüchen f154c3adde haskell.compiler.ghc865Binary: Disable "pie" hardening. See #129247
While this does not fix `ghc865Binary` with musl, it at least prevents
that the other, newer errors are shadowed (see #129247).
2021-07-10 02:49:42 +02:00
Niklas Hambüchen c866b8a13b haskell.compiler.ghc8102Binary: find -executable -> -perm -0100 2021-07-10 02:49:42 +02:00
Niklas Hambüchen da1cf8cb90 pkgsMusl.haskell.compiler.ghc8102Binary: Fix musl segfault. Fixes #118731 #129247.
This commit replaces the musl + glibc hackery in the GHC bindist
compiler by using the new musl based bindist that GHC HQ provides
(built on Alpine).
We could alternatively also use a nix-built musl boostrap compiler,
but it seems nicer to use the GHC HQ one for now.

This fixes the compiler built by
`pkgsMusl.haskell.compiler.ghc8102Binary` segfaulting (#118731)
since the commit

    5e2311d2f - musl: 1.2.1 -> 1.2.2

concretely, musl commit

    01c7920f - remove redundant pthread struct members repeated for layout purposes

which I suspect breaks some glibc/musl ABI compatibility that may have
existed accidentally until then.

The added

    lib.optional stdenv.targetPlatform.isMusl "pie";

also fixes that the packaged bindist compiler cannot create a binary
in its `installCheck` phase (and overall); see detail explanation
in #129247.
2021-07-10 02:49:41 +02:00
Niklas Hambüchen 5777bd3d56 haskell.compiler.ghc8102Binary: Remove sed of /usr/bin/* commands.
None of the current bindists appear to contain these paths in their
`ghc-stage2` binary.
2021-07-10 02:49:41 +02:00
Niklas Hambüchen 1326009806 haskell.compiler.ghc8102Binary: Add check for arch-specific libraries.
With this check, we no longer don't notice when the upstream bindist
changes its dependencies (e.g. because a newer Debian version is used
that uses a new `ncurses` version).
2021-07-10 02:49:41 +02:00
Sandro 45fc7d4a35
Merge pull request #129591 from Shrimpram/master 2021-07-10 01:44:06 +02:00
R. RyanTM e54730b0b8 gprolog: 1.4.5 -> 1.5.0 2021-07-09 23:00:52 +00:00
Shreeram Modi 23a95af60f
inklecate: init at version 1.0.0
inklecate is a command line compiler for the ink language, which is used
to make interactive narrative / choose-your-own-adventure style games.

More information about the ink language can be found at
https://github.com/inkle/ink
2021-07-08 22:36:54 -07:00
Sandro 5da034ebe2
Merge pull request #129572 from redvers/ponyc-0.42.0
ponyc: 0.41.1 -> 0.42.0
2021-07-08 02:42:09 +02:00
Red Davies c08ea1ff47 ponyc: 0.41.1 -> 0.42.0
* Don't allow PONYPATH to override standard library (PR #3780)
* Fix bug where Flags.remove could set flags in addition to unsetting them (PR #3777)
* Allow Flags instances to be created with a set bit encoding (PR #3778)
* Fix "iftype" expressions not being usable in lambdas or object literals (PR #3763)
* Fix code generation for variadic FFI functions on arm64 (PR #3768)
2021-07-07 14:42:40 -04:00
(cdep)illabout 655dc5b67e
purescript: 0.14.2 -> 0.14.3 2021-07-07 13:10:50 +09:00
Sandro b6e72eb2c5
Merge pull request #129455 from r-ryantm/auto-update/jrsonnet
jrsonnet: 0.4.0 -> 0.4.1
2021-07-07 02:47:48 +02:00
R. RyanTM 69d84ca216 jrsonnet: 0.4.0 -> 0.4.1 2021-07-06 15:57:16 +00:00
R. RyanTM eea558539e gleam: 0.16.0 -> 0.16.1 2021-07-06 23:38:00 +09:00
Sandro 411587fce2
Merge pull request #128103 from luc65r/pkg/odin
odin: init at 0.13.0
2021-07-06 02:39:46 +02:00
Sandro fdde3365dc
Merge pull request #128563 from asbachb/update/adoptopenjdk 2021-07-06 00:22:10 +02:00
Lucas Ransan 5b3b8145bc
odin: init at 0.13.0 2021-07-05 22:52:59 +02:00
Vladimír Čunát ac0c470abd
Merge branch 'staging-next' 2021-07-05 21:21:20 +02:00
Sandro 1c69a9b54a
Merge pull request #129313 from r-ryantm/auto-update/jrsonnet
jrsonnet: 0.3.8 -> 0.4.0
2021-07-05 20:10:43 +02:00
github-actions[bot] e16d818a0b
Merge master into staging-next 2021-07-05 18:01:11 +00:00
Dmitry Bogatov 3b901be6bb
jsonnet: add output with html documentation (#128990)
Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-05 19:09:30 +02:00
Niklas Hambüchen 8a2de701f7 haskell.compiler.ghc8102Binary: Fix build on i686.
The library override that was present in the code referred to a
name that isn't even used in current GHC bindists.

Tested with:

    NIX_PATH=nixpkgs=. nix-build --no-link -A haskell.compiler.ghc8102Binary --argstr system i686-linux
2021-07-05 16:38:24 +02:00
Niklas Hambüchen 67e8744ef8 ghc: Refactor: Extract ghcBinDists 2021-07-05 16:38:24 +02:00
Niklas Hambüchen 947f757bba haskell.packages.ghc8102Binary: Add comments 2021-07-05 16:38:24 +02:00
R. RyanTM 6215b65603 jrsonnet: 0.3.8 -> 0.4.0 2021-07-05 10:58:10 +00:00
github-actions[bot] f8bebb9a94
Merge master into staging-next 2021-07-05 00:01:40 +00:00
Niklas Hambüchen 8d11c1380a pkgsMusl.haskell.compiler.ghc901: Fix evaluation with musl
`glibcLocales` only exists when glibc is used.

Similar to commit:

    8727284a - haskell: only use glibcLocales when using glibc
2021-07-04 22:15:59 +00:00
sternenseemann e2a11c1d3d koka: 2.1.4 -> 2.1.9 2021-07-04 21:45:33 +02:00
github-actions[bot] 3c6502f618
Merge master into staging-next 2021-07-04 18:01:00 +00:00