Commit Graph

39 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
sternenseemann
9f377dfe69 haskellPackages.cabal2nix-unstable: 2024-10-17 -> 2024-12-04
This emits versioned libsoup_* attributes in hackage-packages.nix and
(unrelatedly) adds support for opencascade-*, thus closes #359831.
2024-12-08 00:37:52 +01:00
sternenseemann
212b040a81 haskellPackages.cabal2nix-unstable: 2024-05-20 -> 2024-10-17 2024-10-17 13:20:46 +02:00
sternenseemann
22d071984e haskellPackages.cabal2nix-unstable: 2024-04-21 -> 2024-05-20
Haddock overrides aren't ported over since the package is marked as
broken anyways.
2024-05-20 14:50:15 +02:00
sternenseemann
bce71e97a0 haskellPackages.cabal2nix-unstable: 2024-02-05 -> 2024-04-21
This removes (some of) the special casing for git-annex which we need to
replicate using overrides. As a first step, we recreate an equivalent
set of overrides to the former gitAnnexHook, the only difference being
that we use the default installPhase over a custom implementation.

A big flaw of the current expression (which was shared by the previous
iteration) is that they ignore the testFlags argument. Unfortunately, we
can't do that without changing the generic builder implementation.
2024-04-22 02:17:36 +02:00
maralorn
b9cae33009 haskellPackages.cabal2nix-unstable: 2024-01-04 -> 2024-02-05 2024-02-05 23:32:27 +01:00
sternenseemann
e0e903c391 haskellPackages.cabal2nix-unstable: 2024-01-02 -> 2024-01-04
pandoc: install man pages from pandoc-cli tarball

The pandoc man pages moved from pandoc to pandoc-cli, so we need to
install them elsewhere. The install script for this was emitted by
cabal2nix which we now stop doing for pandoc >= 3.1.10 (so
haskellPackages.pandoc still has man pages). Instead we manually add an
override where it matters to us, namely
pkgs.pandoc (haskellPackages.pandoc-cli is lacking them now, not sure if
we need to care).
2024-01-04 16:57:20 +01:00
sternenseemann
0c2ff42913 haskellPackages.cabal2nix-unstable: 2023-11-02 -> 2024-01-02
See https://github.com/NixOS/cabal2nix/pull/611 for discussion.

While we're changing things, let's also use the tzdata setupHook for
haskellPackages.tz.
2024-01-04 12:13:13 +01:00
Dennis Gosnell
a6dfad13f4
haskellPackages.cabal2nix-unstable: bump to latest commit 2023-11-03 09:43:23 +09:00
sternenseemann
74e0320bb8 haskellPackages.cabal2nix-unstable: 2023-07-10 -> 2023-08-15
Correctly detects pkg-config dependencies of text-icu.
2023-08-15 12:24:55 +02:00
Dennis Gosnell
297448c99c
haskellPackages.cabal2nix-unstable: unstable-2023-05-05 -> unstable-2023-07-10 2023-07-10 12:41:39 +09:00
sternenseemann
608aa362a0 haskellPackages.cabal2nix-unstable: 2023-04-11 -> 2023-05-05
This reverts commit 3cb794b0f3 —
cabal2nix has gained knowledge about the `liblzma` pkg-config name.
2023-05-05 22:28:32 +02:00
sternenseemann
5e9077b453 haskellPackages.cabal2nix-unstable: 2023-02-27 -> 2023-04-11 2023-04-12 01:16:51 +02:00
sternenseemann
8a5af8e2b8 haskellPackages.cabal2nix-unstable: 2023-02-25 -> 2023-02-27 2023-02-27 18:15:19 +01:00
sternenseemann
bb62d57a85 haskellPackages.cabal2nix-unstable: 2023-02-15 -> 2023-02-25
Correctly resolves gmodule pkg-config name now:
6c1dc8908b
2023-02-25 19:32:49 +01:00
sternenseemann
e5e75c766c haskellPackages.cabal2nix-unstable: 2023-01-06 -> 2023-02-15
This fixes the pkg-config-depends resolution for minicurl.
2023-02-15 14:11:46 +01:00
sternenseemann
aa0d300cfd haskellPackages.cabal2nix-unstable: 2022-12-08 -> 2023-01-06
This is mostly to accomodate a possible merge of #209128.
2023-01-06 15:25:56 +01:00
sternenseemann
5bc95ac1b5 haskellPackages.cabal2nix-unstable: 2022-10-22 -> 2022-12-08 2022-12-08 12:03:43 +01:00
sternenseemann
b167f1bb14 haskellPackages.cabal2nix-unstable: 2022-10-10 -> 2022-10-22
With this hackage2nix knows that libcrypt can no longer be found in
glibc, but needs to be taken from libxcrypt. We can trim down the
overrides accordingly, leaving only the test failure workaround for
crypt-sha512.
2022-10-22 21:38:09 +02:00
sternenseemann
ff920c5f7b haskellPackages.cabal2nix-unstable: 2022-07-22 -> 2022-10-10 2022-10-12 14:51:01 +02:00
sternenseemann
548ec57e44 haskellPackages.cabal2nix-unstable: 2022-07-17 -> 2022-07-22 2022-07-26 21:01:36 +02:00
sternenseemann
a4bb1872e1 haskellPackages.cabal2nix-unstable: 2022-06-30 -> 2022-07-17 2022-07-17 15:32:03 +02:00
sternenseemann
b43e94ff38 haskellPackages.cabal2nix-unstable: 2022-06-16 -> 2022-06-20 2022-06-20 13:32:44 +02:00
sternenseemann
067dee3d83 haskellPackages.cabal2nix-unstable: 2022-04-27 -> 2022-06-16
Note that we are not yet taking advantage of the new platform handling
properly which is why the diff looks odd in places.
2022-06-18 11:24:38 +02:00
sternenseemann
44c21a80ec haskellPackages.cabal2nix-unstable: 2021-10-23 -> 2022-04-27 2022-05-08 21:53:43 +02:00
Ellie Hermaszewska
1da3fa5b78
haskellPackages.cabal2nix-unstable: 2021-09-28 -> 2021-10-23 2021-10-23 13:42:27 +08:00
sternenseemann
e8b91f3064 haskellPackages.cabal2nix-unstable: 2021-09-23 -> 2021-09-28
Stops webkitgtk24x-gtk* bindings from being emitted.
2021-09-28 23:18:49 +02:00
Malte Brandy
61eb102774
haskellPackages: Bump cabal2nix-unstable to apply cabal2nix PR #520 2021-09-23 23:48:17 +02:00
sternenseemann
d182740101 haskellPackages.cabal2nix-unstable: 2021-08-21 -> 2021-08-27
Adds support for aarch64-darwin in hackage2nix.
2021-08-27 18:32:48 +02:00
sternenseemann
6a84c24d5a haskellPackages.cabal2nix-unstable: 2021-07-29 -> 2021-08-21 2021-08-21 17:59:00 +02:00
sternenseemann
be33e5f401 haskellPackages.cabal2nix-unstable: 2021-07-21 -> 2021-07-29 2021-07-30 11:25:04 +02:00
sternenseemann
2eb7828b36 haskellPackages.cabal2nix-unstable: 2021-07-08 -> 2021-07-21
* Regenerate hackage-packages.nix

* Remove now unnecessary workaround for pam
2021-07-26 19:37:41 +02:00
sternenseemann
1088e55baf haskellPackages.cabal2nix-unstable: 2021-06-12 -> 2021-07-08 2021-07-08 12:35:35 +02:00
Malte Brandy
37c8bfc077
haskellPackages.cabal2nix-unstable: Bump for alsa-lib alias 2021-06-12 19:27:16 +02:00
sternenseemann
71ffc07f4e haskellPackages.cabal2nix-unstable: 2021-06-10 -> 2021-06-12
Adds support for GHC 9.0.x which we also test by compiling it with all
available GHC versions on Hydra.
2021-06-12 00:36:30 +02:00
sternenseemann
7a9080d774 haskellPackages.cabal2nix-unstable: 2021-05-28 -> 2021-06-10 2021-06-10 14:07:46 +02:00
(cdep)illabout
259177f109
haskellPackages.cabal2nix-unstable: update to latest version from github 2021-05-28 10:47:40 +09:00
Malte Brandy
7f236bd4b2
hackage2nix: Split configuration, auto disable hydra builds
We split configuration-hackage2nix.yaml into multiple files.  We bump
cabal2nix-unstable to get support for multiple config files in
hackage2nix.

* The file main.yaml is only supposed to be edited by humans.
* The file stackage.yaml is only supposed to be updated by the
  update-stackage.sh
* The file broken.yaml can be edited by humans, but probably future
  helpers will want to insert broken packages into this file based on
  hydra reports.
* The file transitive-broken.yaml is newly introduced to be generated
  by regenerate-transitive-broken-packages.sh

regenerate-transitive-broken-packages.sh makes a nix query (in
transitive-broken-packages.nix) which evaluates all haskellPackages
once with and once without "allowBroken" this way it get's a list of
packages which are broken by some transitive dependency, but does not
disable packages which have eval errors not caused by a broken package.
2021-05-07 21:58:08 +02:00
sternenseemann
794bc5e9ed haskellPackages.cabal2nix-unstable: rename from cabal2nix-latest 2021-05-04 13:38:46 +02:00