Commit Graph

143 Commits

Author SHA1 Message Date
erics118
c41681c9ed hadolint: add back justStaticExecutables and fix Paths_ references on aarch64-darwin
closure goes from 4.3 Gib to 127.8 Mib

removes outdated `disableCabalFlag "static"`, as such a flag is no
longer defined
2026-06-07 12:09:05 +02:00
Wolfgang Walther
057b9549f1 haskellPackages.warp: skip tests on darwin due to sandbox
Warp has been failing to build in the darwin sandbox for a long time,
because of some failing tests, even with local networking enabled. This
does not surface when using it from the cache, because hydra builds
without sandbox. But for development / nixpkgs-review, this is heavily
annoying. Disabling these two tests makes the build pass on the
community builder for me.
2026-05-31 15:40:37 +02:00
Michael Daniels
a6aa7c3b27 Merge commit '9d8e096346e9c51041858b3b301ffe1d7d4e63d5' into haskell-updates 2026-05-11 08:36:47 -04:00
Alexandre Esteves
d14c80e68e haskellPackages.*: enable packages that build on aarch64-darwin 2026-05-08 12:11:55 +02:00
Alexandre Esteves
55f167d8c1 haskellPackages: use 'overrideCabal' instead of 'overrideAttrs' on darwin overrides 2026-03-24 01:03:02 +00:00
Alexandre Esteves
d1bcc8d9e8 haskellPackages.*: fix build with Darwin sandbox enabled 2026-03-24 01:03:02 +00:00
Mika Tammi
c9762683de haskellPackages.botan-low: Enable testcases again
* Still skip "rdrand tests" for aarch64-linux, as the ARM64 builders in
  NixOS CI build infrastructure don't seem to support the FEAT_RNG of
  ARMv8.5-A

Signed-off-by: Mika Tammi <mikatammi@gmail.com>
2026-01-09 20:11:46 +02:00
nixpkgs-ci[bot]
409fead939 Merge staging-next into staging 2025-12-16 00:19:46 +00:00
Sander
a493d55feb cachix: apply workaround to NixOS#461651 on darwin
Applies the same workaround used by `hercules-ci-agent` that allows us to correctly resolve symbols from nix libraries.
Re-enables the test suite, since it now builds.
2025-12-11 15:03:20 +01:00
nixpkgs-ci[bot]
795ce4c7c1 Merge staging-next into staging 2025-12-11 00:19:41 +00:00
Wolfgang Walther
c6a07dbe8a cachix: move dontCheck to configuration-darwin.nix 2025-12-10 15:07:09 +01:00
nixpkgs-ci[bot]
f383ecc781 Merge staging-next into staging 2025-12-09 18:06:41 +00:00
Robert Hensing
a4984c9528 hercules-ci-agent: Work around #461651 on Darwin 2025-12-09 11:27:45 +01:00
Wolfgang Walther
ac1a257ff2 haskellPackages: stackage LTS 24.16 -> LTS 24.19 (#460624) 2025-11-29 12:47:41 +00:00
ryota2357
9eff836f32 happy: fix for justStaticExecutables 2025-11-21 18:24:48 +09:00
Marc Scholten
9d8a1fff7d haskellPackages.text-icu: disable homebrew flag on darwin
By default text-icu sets homebrew=true. This can cause a nix build
of text-icu to accidentally link the homebrew icu. It can also
cause "doesn't work on my machine" issues when an old homebrew version
with icu is installed on a mac and is accidentally picked up.
2025-11-16 11:30:09 -08:00
Wolfgang Walther
17cdf7ea55 haskellPackages.HsOpenSSL-x509-system: fix Mac runtime (#450225) 2025-10-13 14:25:08 +00:00
Ben Orchard
4debea0de9 haskellPackages: change darwin postPatch substitutes to use --replace-fail 2025-10-10 12:34:01 +01:00
Ben Orchard
485a99feff haskellPackages.HsOpenSSL-x509-system: fix Mac runtime
It's the same sort of platform-specific code as the
{crypton-,}x509-system packages. Applying the same bandaid fixes.
2025-10-10 12:27:58 +01:00
sternenseemann
5499b12373 haskellPackages.cabal2nix-unstable: use correct output on Darwin
cabal2nix doesn't have a separate bin output, but cabal2nix-unstable
does (now?), so copying over the code doesn't work. Just stop hardcoding
the bin output in both cases.

(cherry picked from commit ec426cc387)
2025-10-02 12:28:19 +02:00
sternenseemann
b44638878d haskellPackages.math-functions: drop obsolete workaround on darwin
Upstream issue has been resolved.
2025-09-22 14:37:00 +02:00
sternenseemann
ec426cc387 haskellPackages.cabal2nix-unstable: use correct output on Darwin
cabal2nix doesn't have a separate bin output, but cabal2nix-unstable
does (now?), so copying over the code doesn't work. Just stop hardcoding
the bin output in both cases.
2025-09-22 02:20:21 +02:00
Wolfgang Walther
8a0284dcd2 haskellPackages.cabal2nix-unstable: override with unstable dependencies
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.

(cherry picked from commit 631661e66c)
2025-09-17 09:36:37 +02:00
Wolfgang Walther
6ae791288e Merge commit '33d95fc71031eb4a1943c8cdcea3fe95aaba0910' into haskell-updates 2025-09-03 18:37:19 +02:00
Wolfgang Walther
631661e66c haskellPackages.cabal2nix-unstable: override with unstable dependencies
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.
2025-09-01 14:10:36 +02:00
Malte Ott
1afb300b0d haskellPackages.botan-bindings: Fix broken package AND haskellPackages.botan-low: Skip failing tests (#430146) 2025-09-01 13:51:04 +02:00
Mika Tammi
e582f96940 botan-low: Disable failing testcases
Signed-off-by: Mika Tammi <mikatammi@gmail.com>
2025-08-04 23:14:36 +03:00
Naïm Camille Favier
317b72cfd5 haskellPackages.Agda: fix build on aarch64-darwin (#427394) 2025-07-24 17:11:14 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Naïm Camille Favier
9895bd603d haskellPackages.Agda: fix build on aarch64-darwin 2025-07-22 10:56:32 +02:00
nixpkgs-ci[bot]
be8530bd40 Merge staging-next into staging 2025-05-15 00:17:01 +00:00
sternenseemann
2a75c01bee haskellPackages.system-fileio: disable test suite on darwin
Can't be expected to work since macOS doesn't quite have a
POSIX file system. Resolves https://github.com/NixOS/nixpkgs/issues/404867.
2025-05-14 16:46:42 +02:00
nixpkgs-ci[bot]
7c144428e0 Merge staging-next into staging 2025-05-12 18:07:30 +00:00
Winter
100f83ff87 haskellPackages: remove darwin override for with-utf8_1_1_0_0
Attribute was removed in 7e2a5a598c.
2025-05-11 20:05:22 -04:00
Alex James
f21f973686 haskellPackages.network: allow local networking on Darwin
Otherwise `checkPhase` fails with the sandboxing enabled:
https://gist.github.com/al3xtjames/ff511f36890388345d51a410a2fc18f9
2025-05-10 21:23:38 -05:00
nixpkgs-ci[bot]
6c6ee2d903 Merge master into staging-next 2025-05-03 18:04:30 +00:00
sternenseemann
972da78368 spacecookie: enable networking on darwin 2025-05-03 19:24:09 +02:00
Emily
6c5166e457 haskellPackages.bindings-GLFW: drop reference to darwin.CF stub 2025-04-23 17:29:21 +01:00
Emily
4d04fc1445 treewide: remove references to deprecated darwin.libobjc stub (#400402) 2025-04-22 22:30:16 +01:00
sternenseemann
b35c701857 Merge haskell-updates PR #371032 into staging 2025-04-22 12:02:16 +02:00
Emily
954bb3bb03 treewide: remove references to deprecated darwin.libobjc stub
This was done with booxter’s fantastic [nix-clean-apple_sdk] tool,
simply modified to look for `libobjc` rather than the existing list he
already used in <https://github.com/NixOS/nixpkgs/pull/398707>. Some
manual work was applied, including cleaning up a string interpolation
in the terrifying MacVim derivation, stray comments, empty lists,
function parameters, and `inherit`s, including all of the references in
`all-packages.nix`.

[nix-clean-apple_sdk]: https://github.com/booxter/nix-clean-apple_sdk
2025-04-21 20:41:03 +01:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Wolfgang Walther
9e296dcf84 Merge commit '3b48b2eb41f0bcd2c0551cd1c2457fdae806c7a3' into haskell-updates-merge-nixfmt 2025-04-05 14:19:34 +02:00
Alexandre Esteves
c5223b6535 haskellPackages: remove old workarounds for darwin 2025-04-05 13:37:55 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Junji Hashimoto
0145fac03b haskellPackages.sysinfo: Disable the test. Metrics are not collected properly on the sandbox of macOS. 2025-01-01 16:16:21 +09:00
sternenseemann
cb555a68c4 Merge branch staging into haskell-updates 2024-11-27 23:24:36 +01:00
Emily
382ef6cd88 Merge staging-next into staging 2024-11-25 02:00:00 +00:00
Linus Vettiger
a2c2ebc1d1 haskellPackages.sym: mark broken on darwin 2024-11-24 13:06:27 +01:00
Alexandre Esteves
d51b1767a3 haskellPackages.http-reverse-proxy: disable tests on darwin 2024-11-23 16:27:12 +00:00