Commit Graph
439729 Commits
Author SHA1 Message Date
sternenseemann ff2d74b329 haskellPackages.mkDerivation: use CC_FOR_BUILD if !stdenv.hasCC
Previously, we would try to calculate the name of
buildPackages.stdenv.cc and then just hope that it is in PATH somehow.
This definitely doesn't work in all cases.

The new approach is to add buildPackages.stdenv.cc to depsBuildBuild
which also populates CC_FOR_BUILD which we can directly re-use.
2023-01-04 15:50:28 +01:00
John EricsonandGitHub b92fb601c2 Merge pull request #208947 from sternenseemann/ghc-head-js-backend-try-1
haskell.compiler.ghcHEAD: support JS backend
2023-01-04 09:12:10 -05:00
maralorn 91e05c47f8 haskellPackages.recursion-schemes: Remove obsolete patch 2023-01-04 02:23:24 +01:00
github-actions[bot]andGitHub 20d97c0508 Merge master into haskell-updates 2023-01-04 00:12:52 +00:00
SandroandGitHub 6ff1cd277c Merge pull request #208391 from fortuneteller2k/hilbish 2023-01-04 00:52:28 +01:00
SandroandGitHub b8e88394eb Merge pull request #208648 from r-ryantm/auto-update/bazarr 2023-01-04 00:51:48 +01:00
SandroandGitHub 956805b667 Merge pull request #208463 from r-ryantm/auto-update/gonic 2023-01-04 00:51:36 +01:00
SandroandGitHub 6ee8dc0e31 Merge pull request #206639 from vimpostor/hotspot_1.4 2023-01-04 00:51:14 +01:00
Robert ScottandGitHub 018063e4a2 Merge pull request #208473 from r-ryantm/auto-update/lime
lime: 5.1.61 -> 5.2.6
2023-01-03 23:50:01 +00:00
Robert ScottandGitHub 2057adf46e Merge pull request #208485 from wegank/torch-darwin
python3Packages.torch: fix build on darwin
2023-01-03 23:49:06 +00:00
figsodaandGitHub 20b3661142 Merge pull request #208946 from qowoz/gh
gh: 2.21.1 -> 2.21.2
2023-01-03 18:44:29 -05:00
sternenseemann 6392c21c1f haskell.compiler.ghcHEAD: allow building the JavaScript backend
This is now possible by building a cross compiler for js-unknown-ghjs
using `pkgsCross.ghcjs.buildPackages.haskell.compiler.ghcHEAD`.

To allow this, the following things needed to be done:

* Disable dependencies that wouldn't work:

  - Don't pull in ncurses for terminfo
  - Don't pull in libffi
  - Don't pull in libiconv
  - Don't enable the LLVM backend
  - Enable gmp-less native-bignum backend

* Use emscripten instead of a C compiler. The way this works is inspired
  by emscriptenPackages, but avoids the following flaws:

  - Instead of using a custom configurePhase, just set
    `configureScript = "emconfigure ./configure";` which is much simpler.

  - Create writable EM_CACHE before configuring, as configure scripts
    want to compile test programs.

  Additionally, we need to disable the targetCC check, as it is not
  applicable with emscripten which never appears as part of stdenv.

* Use generic $configureScript in installPhase to be able to work with
  our emconfigure trick.

Note that the corresponding Haskell package set does not work yet. Cabal
doesn't seem to like GHC 9.7 yet and the generic-builder is clueless
about the JS backend.
2023-01-04 00:02:29 +01:00
sternenseemann b711b52d15 jre, temurin-bin: fix eval in pkgsCross.ghcjs.buildPackages
Since #200337 gobject-introspection propagates itself via
depsTargetTargetPropagated, so one doesn't have to add it to every
derivation twice. The problem is that gobject-introspection still is in
a lot of buildInputs and will thus propagate itself again for target,
breaking evaluation unnecessarily if gobject-introspection doesn't
evaluate on whatever the target platform turns out to be.

temurin-bin and openjdk19 caused such a situation via gtk3 which GHC's
JavaScript backend depends on. To fix evaluation of those packages in
pkgsCross.ghcjs.buildPackages, we'll just disable the features pulling
in gtk3 until this is fixed properly.
2023-01-04 00:02:29 +01:00
sternenseemann de8e0bfaa7 haskell.compiler: also check targetPlatform for gmp compat
gmp is part of buildInputs _and_ depsTargetTarget, so we need to check
the host and target platform to be correct. In practice this doesn't
change much though, as gmp.meta.platforms is _quite_ liberal.
2023-01-04 00:01:25 +01:00
zowoq d629799adb gh: 2.21.1 -> 2.21.2
Diff: https://github.com/cli/cli/compare/v2.21.1...v2.21.2

Changelog: https://github.com/cli/cli/releases/tag/v2.21.2
2023-01-04 09:00:23 +10:00
Robert ScottandGitHub 39bc9634f6 Merge pull request #208461 from wegank/openfec-darwin
openfec: fix runtime error on darwin
2023-01-03 22:40:03 +00:00
SandroandGitHub 62f47c0522 Merge pull request #208563 from r-ryantm/auto-update/python3.10-bincopy 2023-01-03 23:38:33 +01:00
Robert ScottandGitHub 84dce4c755 Merge pull request #208889 from 1sixth/mpv-ffmpeg_5
mpv: use ffmpeg_5
2023-01-03 22:35:03 +00:00
Martin WeineltandGitHub 530da99ea3 Merge pull request #208943 from mweinelt/python-section-codeownership 2023-01-03 23:33:35 +01:00
Martin Weinelt 197eafd660 CODEOWNERS: Add myself to python language documentation 2023-01-03 23:32:47 +01:00
Colin ArnottandGitHub e8397aa682 karmor: init at 0.11.1 (#207794)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Fixes https://github.com/NixOS/nixpkgs/issues/207517
2023-01-03 23:27:23 +01:00
SandroandGitHub d5b36bba0e Merge pull request #207802 from urandom2/netmaker
Fixes https://github.com/NixOS/nixpkgs/issues/207654
2023-01-03 23:25:34 +01:00
SandroandGitHub daf4e55ddb Merge pull request #208194 from wegank/chibi-darwin
Closes https://github.com/NixOS/nixpkgs/issues/190889
2023-01-03 23:22:39 +01:00
Michael WeissandGitHub 08203e325a Merge pull request #208938 from primeos/chromiumBeta
chromiumBeta: 109.0.5414.46 -> 109.0.5414.61
2023-01-03 23:19:29 +01:00
SandroandGitHub a19f2846a6 Merge pull request #207935 from wegank/libacr38u-darwin 2023-01-03 23:18:35 +01:00
Weijia WangandGitHub 5f40e9e178 samba: add darwin support (#207465) 2023-01-03 23:16:35 +01:00
SandroandGitHub c4abc231be Merge pull request #206316 from wegank/quadprog-init 2023-01-03 23:14:37 +01:00
Thomas GerbetandGitHub 327790ade7 Merge pull request #206145 from buckley310/2022-12-14-brave
brave: 1.46.133 -> 1.46.144
2023-01-03 23:08:14 +01:00
SandroandGitHub e036eda447 Merge pull request #206405 from aaronjheng/filegive 2023-01-03 22:57:59 +01:00
Michael Weiss 6e1f2baf4a chromiumBeta: 109.0.5414.46 -> 109.0.5414.61 2023-01-03 22:56:07 +01:00
ArtturiandGitHub 1f1becf835 Merge pull request #206849 from andresilva/ledger-live-2.50.1 2023-01-03 23:54:10 +02:00
ArtturiandGitHub 099f6ed77c Merge pull request #203504 from IvarWithoutBones/bump-yabai 2023-01-03 23:52:03 +02:00
sternenseemann 12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
ArtturiandGitHub 0710f0b70f Merge pull request #208281 from mikepurvis/openvdb-9.1.0-split-output 2023-01-03 23:44:56 +02:00
sternenseemann a05354790b haskell.compiler.ghcHEAD: use LLVM 14
This will be required for the JavaScript backend to work.
2023-01-03 22:42:57 +01:00
Jonas HeinrichandGitHub 733713c15c Merge pull request #208530 from onny/wordpressPackages-update
wordpressPackages: update
2023-01-03 22:34:59 +01:00
Robert ScottandGitHub 11e43555d5 Merge pull request #208716 from wegank/osl-aarch64-linux
osl: unbreak on aarch64-linux
2023-01-03 21:32:17 +00:00
b708a3523a python3Packages.gym: remove unnecessary string interpolation (#208846)
* python3Packages.gym: remove unnecessary string interpolation

* python3Packages.gym: use "refs/tags/foo" instead of "foo"

Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>

Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2023-01-03 16:30:06 -05:00
sternenseemann 1ee0f4c2aa systemd: fix evaluation in pkgsCross.ghcjs.buildPackages
GHC's js backend depends on systemd via emscripten via closure compiler
via jdk via cups. Before it fails to evaluate, though, since
llvmPackages looks into `targetPackages.stdenv.cc` to determine which
C++ library to use (something that should be rectified in the future).
[Unfortunately], for `pkgsCross.ghcjs`, `stdenv.cc` throws which blows
up evaluating `pkgsCross.buildPackages.llvmPackages.clang`.

This is in principle unnecessary. We want to build
`pkgsCross.ghcjs.buildPackages.haskell.compiler.native-bignum.ghcHEAD`
which depends on `pkgsCross.ghcjs.buildPackages.systemd` which needs
clang and friends only in `nativeBuildInputs`, so
`pkgsCross.ghcjs.buildPackages.buildPackages.llvmPackages.clang`.
Unfortunately, due to the nature of splicing, we first evaluate the
“adjacent” derivation before we can access the spliced derivation we are
actually interested in. If the former
fails (`pkgsCross.ghcjs.buildPackages.llvmPackages.clang`), we can't do
the latter.

The solution is to just not rely on splicing in this case and take
`buildPackages.llvmPackages.clang` directly (relative to
`buildPackages.systemd` in this case!) which avoids the whole problem.

[Unfortunately]: https://github.com/NixOS/nixpkgs/commit/c739c420db5b9d56c335414be1696c57f2dbbb6a#diff-3209527bd27cbc775f579b1e295b0264c850859c7245d526965cec456b8c70a4R61
2023-01-03 22:19:59 +01:00
Fabian AffolterandGitHub 54289c7c05 Merge pull request #208526 from r-ryantm/auto-update/python310Packages.mailchecker
python310Packages.mailchecker: 5.0.5 -> 5.0.6
2023-01-03 22:09:29 +01:00
Fabian AffolterandGitHub 1f72e85772 Merge pull request #208821 from fabaff/reolink-aio
python310Packages.reolink-aio: init at 0.1.1
2023-01-03 21:59:43 +01:00
Fabian AffolterandGitHub 0f01ae7816 Merge pull request #208729 from fabaff/peaqevcore-bump
python310Packages.peaqevcore: 9.2.2 -> 9.2.3
2023-01-03 21:38:59 +01:00
Fabian AffolterandGitHub ca1decb39f Merge pull request #208814 from fabaff/pytibber-bump
python310Packages.pytibber: 0.26.6 -> 0.26.7
2023-01-03 21:38:50 +01:00
André Silva 3251e0faa8 ledger-live-desktop: remove unused systemd package parameter 2023-01-03 20:25:29 +00:00
Fabian AffolterandGitHub 7f3980709d Merge pull request #208815 from fabaff/motionblinds-bump
python310Packages.motionblinds: 0.6.14 -> 0.6.15
2023-01-03 21:22:41 +01:00
Fabian AffolterandGitHub a51efbaaf5 Merge pull request #208820 from fabaff/aioaladdinconnect-bump
python310Packages.aioaladdinconnect: 0.1.48 -> 0.1.50
2023-01-03 21:22:27 +01:00
Fabian AffolterandGitHub f4f69cb450 Merge pull request #208727 from fabaff/qovery-cli-bump
qovery-cli: 0.48.1 -> 0.48.2
2023-01-03 21:21:42 +01:00
Nikolay KorotkiyandGitHub 12461da090 Merge pull request #208692 from hqurve/qgis
qgis, qgis-ltr: disable qtwebkit by default and correctly link grass
2023-01-04 00:19:50 +04:00
Robert ScottandGitHub 918ce50eae Merge pull request #208533 from r-ryantm/auto-update/mkvtoolnix
mkvtoolnix: 71.1.0 -> 72.0.0
2023-01-03 19:45:59 +00:00
ArtturiandGitHub 54360cca52 Merge pull request #206410 from aaronjheng/loccount 2023-01-03 21:34:21 +02:00