Commit Graph

11765 Commits

Author SHA1 Message Date
sternenseemann
120f24202b haskellPackages.mkDerivation: limit GHC_PACKAGE_PATH to test suite
Previously, we would set GHC_PACKAGE_PATH after configure, the reasons
being that

1. Setup.hs configure forbids this from being set since it can make a
   build fail that would otherwise succeed (since it influences how
   GHC behaves when invoked by Cabal).
2. Setting GHC_PACKAGE_PATH being set is sound in our case, since
   we set it precisely to the packages available to Cabal at configure
   time, so there should be no room for a mismatch.
3. Some test suites require GHC_PACKAGE_PATH or GHC_ENVIRONMENT to be
   set, so they can invoke GHC(i) with build dependencies available.
   Cabal >= 3.12 forbids GHC_PACKAGE_PATH from being set after
   <https://github.com/haskell/cabal/commit/d6e38041a7c778fadf8f416>.
   Setting GHC_ENVIRONMENT would be possible, but is cumbersome without
   cabal-install (which has the handy cabal exec command which takes
   care of that). Additionally, it is not clear if it'll remain possible
   to do that: <https://github.com/haskell/cabal/issues/7792>.

Our solution to Cabal 3.12's change is to be more targeted about setting
GHC_PACKAGE_PATH: We _just_ set it for the actual test suite executable.
This can be achieved by using --test-wrapper which when given is invoked
by Cabal to run the test suite. Here we can set any environment
variables after Cabal has already done its environment checks. As long
as we don't do anything stupid, this should be unproblematic.

Users can also arbitrarily influence what GHC_PACKAGE_PATH will contain
using the NIX_GHC_PACKAGE_PATH_FOR_TEST environment variable. This is
un(der)documented for now, since I want to keep some wiggle room for
changing stuff in the coming weeks. Also it's rarely necessary to
actually touch this variable.
2024-05-26 16:01:21 +02:00
sternenseemann
d8550b8bbb haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1806530](https://hydra.nixos.org/eval/1806530) of nixpkgs commit [edc6c26](edc6c261ab) as of 2024-05-25 11:49 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-05-25 22:53:59 +02:00
github-actions[bot]
edc6c261ab Merge master into haskell-updates 2024-05-25 00:13:23 +00:00
Domen Kožar
6a289d26e0 cachix: 1.7.3 -> 1.7.4 2024-05-24 12:24:13 +01:00
Julian Stecklina
07641f2966 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-23 11:47:43 +02:00
Julian Stecklina
f909eba353 haskellPackages.chs-cabal: downgrade to 0.1.1.1 to fix build 2024-05-23 11:47:43 +02:00
maralorn
7707b7468c Merge pull request #313792 from trofi/haskell.packages.ghcjs.exceptions-fix-eval
haskell.packages.ghcjs.exceptions: fix eval
2024-05-22 23:40:04 +02:00
Sergei Trofimovich
b1f5c64b80 haskell.packages.ghcjs.exceptions: fix eval
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghcjs.exceptions
    error:
           … in the left operand of the update (//) operator
             at pkgs/development/haskell-modules/lib/compose.nix:40:7:
               39|     mkDerivation = drv: (args.mkDerivation drv).override f;
               40|   })) // {
                 |       ^
               41|     overrideScope = scope: overrideCabal f (drv.overrideScope scope);

           error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghcjs.nix:30:26:
               29|   stm = doJailbreak self.stm_2_5_3_1;
               30|   exceptions = dontCheck self.exceptions_0_10_7;
                 |                          ^
               31|
           Did you mean exceptions_0_10_8?
2024-05-22 22:25:25 +01:00
Sergei Trofimovich
8b65aca289 haskell.packages.ghc865Binary.exceptions: fix eval
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
    error: attribute 'exceptions_0_10_7' missing
           at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:98:16:
               97|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
               98|   exceptions = self.exceptions_0_10_7;
                 |                ^
               99|
           Did you mean exceptions_0_10_8?
2024-05-22 22:20:49 +01:00
Naïm Favier
f9261b69d8 Merge pull request #313171 from newAM/sv2v-fix
haskellPackages.sv2v: remove broken flag
2024-05-20 18:40:01 +02:00
sternenseemann
3325a9bd0c all-cabal-hashes: 2024-05-19T16:27:24Z -> 2024-05-20T16:06:03Z
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
2024-05-20 18:33:29 +02:00
Alex Martens
99d1eeda31 haskellPackages.sv2v: remove broken flag 2024-05-20 09:27:12 -07: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
b5169354ff haskell.packages.ghc98.ghc-exactprint: pin at 1.8.* 2024-05-20 13:59:20 +02:00
sternenseemann
a6bb510c70 haskell.packages.ghc98.attoparsec-aeson: 2.2.0.1 -> 2.2.2.0 2024-05-20 13:30:52 +02:00
sternenseemann
1a38ad5c56 haskell.packages.ghc98.aeson: 2.2.1.0 -> 2.2.2.0 2024-05-19 22:46:02 +02:00
Naïm Favier
517b3e7fad haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-19 18:48:17 +02:00
Naïm Favier
9215d3b1f7 haskell.packages.ghc98.haskell-language-server: fix 2024-05-19 18:38:39 +02:00
Naïm Favier
3e388ddad1 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1806395](https://hydra.nixos.org/eval/1806395) of nixpkgs commit [10e1e11](10e1e11b8e) as of 2024-05-19 15:04 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-05-19 17:12:43 +02:00
Naïm Favier
b10ba2dbc2 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-19 16:59:08 +02:00
Naïm Favier
a3053c44ca Merge branch 'master' into haskell-updates 2024-05-19 16:57:12 +02:00
Owen Shepherd
7c470de6ac chore: Unmark haskellPackage.language-thrift as broken 2024-05-19 16:42:12 +02:00
Naïm Favier
a0ee869018 Merge pull request #304335 from phijor/cornelis
cornelis: init at 2024-04-08
2024-05-19 14:31:31 +02:00
Naïm Favier
45a8c71517 haskellPackages.erebos-tester: only on Linux 2024-05-19 14:05:29 +02:00
Naïm Favier
10e1e11b8e haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-19 13:45:46 +02:00
Naïm Favier
1ee63219e2 haskellPackages: fix eval 2024-05-19 13:43:03 +02:00
maralorn
789d2b8871 taffybar: Drop obsolete patch 2024-05-19 12:49:05 +02:00
maralorn
01737f49e1 git-annex: Update hash 2024-05-19 12:48:44 +02:00
maralorn
1faadcf514 haskell-language-server: Fix build 2024-05-19 00:27:07 +02:00
maralorn
fb1675a382 haskellPackages.pandoc-crossref: Don‘t check 2024-05-18 22:59:10 +02:00
Naïm Favier
2c6ddcc7ed Merge pull request #312653 from mpscholten/ihp-shx
haskellPackages.ihp-hsx: unbroken
2024-05-18 16:38:57 +02:00
Marc Scholten
fc7a7dd2f7 haskellPackages.ihp-hsx: unbroken
With v1.3 ihp-hsx should work now
2024-05-18 15:01:40 +02:00
Marc Scholten
caccbc6bf1 haskellPackages.http2-client: unbroken
This package works fine locally. Looks like the failing build was fixed with the recent release
2024-05-18 14:39:28 +02:00
Naïm Favier
b21e7b31b3 Merge pull request #312541 from alexfmpe/reflex-dom
haskellPackages.reflex-dom: platform fixes
2024-05-18 13:17:01 +02:00
github-actions[bot]
154bc6bfe6 Merge master into haskell-updates 2024-05-18 00:12:56 +00:00
Alexandre Esteves
f5835de64e haskellPackages.reflex-dom: fix build on darwin 2024-05-18 00:12:55 +01:00
Alexandre Esteves
c80804cd10 haskellPackages.commutative-semigroups: fix build on some platforms 2024-05-18 00:12:42 +01:00
Alexandre Esteves
34a074380c haskellPackages.ghc-lib: fix eval 2024-05-17 18:35:03 +01:00
Domen Kožar
4074fcd0f2 cachix: 1.7 -> 1.7.3 2024-05-17 13:05:07 +01:00
Daniel Hill
8fae074346 haskellPackages.evdev: Remove broken flag 2024-05-17 20:27:40 +12:00
Philipp Joram
8be493adf2 haskellPackages.cornelis: fix build 2024-05-15 18:07:18 +03:00
Philipp Joram
14ec6c7b86 haskellPackages.cornelis: Add malo and phijor as maintainers 2024-05-15 18:04:26 +03:00
Naïm Favier
0695aa4999 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-15 14:54:18 +02:00
Naïm Favier
201a2462bd haskellPackages: stackage LTS 22.18 -> LTS 22.22
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2024-05-15 14:52:20 +02:00
Naïm Favier
bb132441ea haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1806304](https://hydra.nixos.org/eval/1806304) of nixpkgs commit [e49079e](e49079e5ca) as of 2024-05-15 07:51 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-05-15 09:56:26 +02:00
Naïm Favier
130bc7e398 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-15 09:43:13 +02:00
maralorn
913d0dba69 Merge pull request #311547 from alexfmpe/aeson-gadt-th
haskellPackages.aeson-gadt-th: fix build
2024-05-14 08:59:55 +02:00
Alexandre Esteves
5da3c0c305 haskellPackages.aeson-gadt-th: fix build 2024-05-14 04:19:50 +01:00
Alexandre Esteves
8d465db72b haskellPackages.dependent-sum-template: fix build 2024-05-14 03:56:03 +01:00
Alexandre Esteves
35f2cd516d haskellPackages.nix-thunk: fix build and deps 2024-05-14 03:50:39 +01:00