Commit Graph

88 Commits

Author SHA1 Message Date
Linus Vettiger
a2c2ebc1d1
haskellPackages.sym: mark broken on darwin 2024-11-24 13:06:27 +01:00
sternenseemann
5e1144c572 git-annex: work around corrupted store paths of dependencies 2024-11-18 23:28:27 +01:00
sternenseemann
57fd2fcf1f haskellPackages.immortal: disable flaky tests on darwin
It took 5 tries in <https://hydra.nixos.org/eval/1809897> for the tests
to succeed on x86_64 and aarch64 darwin, respectively.
2024-11-13 23:43:09 +01:00
Martin Weinelt
46b1474255 Reapply "haskellPackages: update stackage and hackage" (#354547)
This reverts commit 7701a9e6c6, reversing
changes made to 8991dc8e9d.

Restore haskell-updates on staging-next to save resources on hydra.
2024-11-08 18:42:24 +01:00
Vladimír Čunát
fe6d94b8f9
Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
Alexandre Esteves
d2b766c1b1 haskellPackages.snap: fix tests on darwin with sandbox 2024-11-01 16:33:58 +00:00
Randy Eckenrode
2573d499bd
haskellPackages.network: fix build on x86_64-darwin 2024-10-10 01:06:48 -04:00
sternenseemann
b341506a8d Merge branch master into haskell-updates
Conflicts from #341407 resolved.
2024-09-27 11:41:25 +02: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
Finn Landweber
e2af344be5
haskellPackages.system-fileio: disable checks 2024-09-07 22:26:55 +02:00
Alexandre Esteves
2c8f504254 haskellPackages: disable tests on aarch64-darwin that require postgresql 2024-08-08 21:52:05 +01:00
Alexandre Esteves
b7903bfec9 haskellPackages.reflex-dom: fix eval on js backend 2024-07-25 22:33:41 +01:00
Montmorency
c07e06bfe2 libiconv with comment for with-utf8 2024-07-15 20:37:23 +01:00
Alexandre Esteves
9036501ab5 haskellPackages.ghcjs-dom-hello: fix on darwin 2024-06-17 14:40:58 +02:00
Alexandre Esteves
78e2348b11 haskellPackages.jsaddle-hello: fix on darwin 2024-06-17 14:40:58 +02:00
Alexandre Esteves
ca1281b9e9 haskellPackages.warp: fix build on darwin 2024-06-17 14:40:58 +02:00
sternenseemann
46638ff2da haskellPackages.cabal2nix-unstable: rem refs to GHC (aarch64-darwin) 2024-06-07 11:48:12 +02:00
Marek Fajkus
6f29411d94
Merge pull request #315141 from sandydoo/fix-elm
elmPackages.elm: fix build failure on darwin
2024-06-05 09:09:01 +02:00
Rebecca Turner
2901eb87d6 cabal2nix: Fix for justStaticExecutables
Remove references to `hpack` and `distribution-nixpkgs` paths so that
`cabal2nix` can build on macOS.

See: #304352
2024-06-04 01:20:08 +02:00
sternenseemann
d90232565e haskellPackages.ad: disable problematic test on x86_64-darwin
It is somewhat curious that it behaves differently exclusively here, but
I don't think it is necessary to stop shipping a package due to floating
point arithmetic error—it would be unreasonable to assume there were
none…

See https://github.com/ekmett/ad/issues/113.
2024-05-31 12:17:46 +02:00
Sander
9dd7a8222c
elmPackages.elm: fix build failure on darwin
Patches `crypton-x509-system` to use the full path to the `security`
binary.
2024-05-27 21:49:00 +04:00
Mathis
7042f95f88
haskellPackages.di-core: unbreak on darwin (#314627)
One of the tests is flaky and fails sometimes on darwin, linux builds
don't seem to be affected. This change removes the failing assert on
darwin.
2024-05-27 08:36:13 +00:00
Alexandre Esteves
f5835de64e haskellPackages.reflex-dom: fix build on darwin 2024-05-18 00:12:55 +01:00
Alexandre Esteves
dace374b25 haskellPackages.jsaddle-wkwebview: build on darwin 2024-05-01 17:53:08 +01:00
sternenseemann
4a1299190e git-annex: skip test requiring unavailable tool on darwin 2024-04-22 02:17:36 +02:00
Marc Scholten
636a1226a8 haskellPackages.zip: Don't check
Tests fail on macOS right now

https://github.com/mrkkrp/zip/issues/112
2024-04-07 12:34:41 +02:00
maralorn
013cdb0c0b haskellPackages: Remove obsolete overrides for hls dependencies 2024-03-17 13:36:19 +01:00
Naïm Favier
0e15c844a9
agda: enable debug printing 2024-01-06 15:00:33 +01:00
Linschlager
0a091fcccc haskellPackages.hidapi: fix darwin build 2023-11-26 17:28:52 +01:00
Sridhar Ratnakumar
3be1e25615 haskellPackages.streamly_0_9_0: remove override
Because the package no longer exists
2023-08-18 10:18:46 +02:00
zowoq
bdea49df12 haskellPackages.inline-c-cpp: fix darwin build 2023-08-10 16:55:31 +10:00
Ellie Hermaszewska
7041bc7a1f
haskellPackages.streamly-0.9.0: Add required framework on Darwin 2023-05-31 08:26:53 +08:00
Dennis Gosnell
90fd702950
Merge pull request #234132 from reckenrode/http2-darwin-fix
haskellPackages.http2: fix build with Darwin sandbox enabled
2023-05-26 22:36:09 +09:00
Randy Eckenrode
9b1c02ede8
haskellPackages.http2: fix build with Darwin sandbox enabled 2023-05-25 23:59:16 -04:00
Randy Eckenrode
217ed5437c
haskellPackages.yesod-core: fix build with Darwin sandbox enabled 2023-05-25 23:58:32 -04:00
sternenseemann
bc6c2ee545 rure: fix darwin dylib names
This hasn't been an issue on x86_64, but running it anyways shouldn't
hurt. aarch64-darwin's trouble could be due to codesigning? Besides that
there don't seem to be many differences between the actual derivations.

This also unbreaks the test suite of regex-rure.
2023-03-13 02:15:10 +01:00
sternenseemann
41c538f80f haskellPackages.regex-rure: mark broken on aarch64-darwin 2023-03-11 12:22:48 +01:00
sternenseemann
7f65851908 Revert "haskellPackages.heystone: fix darwin dylibs"
This reverts commit 32eecc6cc9.

Reason for revert: This fix doesn't alleviate the problem in two ways:

1. It is in the aarch64-darwin section of configuration-darwin.nix,
   the problem appears on x86_64-darwin (bytepatch doesn't support
   aarch64).

2. When moving the override into the general *-darwin section, the
   problem with bytepatch is also unaffected, see my attempt in
   https://github.com/NixOS/nixpkgs/pull/217201.
2023-02-23 13:26:17 +01:00
sternenseemann
ea113b94f4 haskellPackages.hmidi: provide necessary frameworks on darwin 2023-02-15 00:47:32 +01:00
Dennis Gosnell
32eecc6cc9
haskellPackages.heystone: fix darwin dylibs 2023-02-12 11:25:33 +09:00
Weijia Wang
f22cb23840 agda: fix build on aarch64-darwin 2023-01-22 02:26:28 +01:00
Naïm Favier
ea84ce7593
haskellPackages: fixes 2022-11-21 15:32:41 +01:00
maralorn
7e53f5f41c haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
Rebecca Turner
e0f2f2b676
ormolu/fourmolu: Fix build on aarch64-darwin 2022-10-19 12:23:15 -04:00
Alex Wied
da501f8808 haskellPackages.streaming-commons: Fix sandboxed build on Darwin 2022-08-25 00:53:59 -04:00
Andrew Dunham
3f4d5f2cf8 haskellPackages.rio: skip a broken test on aarch64-darwin 2022-07-03 20:46:55 +01:00
Ellie Hermaszewska
c9979ff597
haskellPackages.hls-rename-plugin: disable flaky tests on Darwin 2022-05-05 10:12:18 +08:00
sternenseemann
1b5d09ccb6 Merge remote-tracking branch 'origin/master' into haskell-updates 2022-05-04 14:24:30 +02:00
Artturin
c52b904e66 haskellPackages.streamly: fix darwin override
fixes
```
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
error: attribute 'streamly_0_8_1_1' missing

       at /nix/store/lw6gp8rrhd7lpi81dk9wr1l09a7za523-source/pkgs/development/haskell-modules/configuration-darwin.nix:259:6:

          258|     ] ++ (drv.libraryFrameworkDepends or []);
          259|   }) super.streamly_0_8_1_1;
             |      ^
          260|
```

PR #160733 didn't catch this it seems.
2022-05-04 13:57:37 +03:00
Ellie Hermaszewska
6a8a22133f
haskellPackages.jacinda: disable tests only on x86_64-darwin 2022-05-04 10:23:39 +08:00