diff options
author | Naïm Favier <n@monade.li> | 2024-03-20 10:10:33 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2024-03-20 10:10:33 +0100 |
commit | 908f4e078955b61031328022d01405e557ccbc04 (patch) | |
tree | bac289ff41ed1267b81421dbfce0ef96b3cfa648 | |
parent | 05f9a72c0e1ee63c7d354b5e7704801595f376bc (diff) |
haskell.packages.ghc9{2,4}.primitive-addr: pin to 0.1.0.2
Newer versions require too recent a `base` version.
4 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index f23e2046187a9..f0a7ab4e535cd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -76,6 +76,7 @@ self: super: { hashable = addBuildDepends [ self.data-array-byte ] super.hashable; primitive = addBuildDepends [ self.data-array-byte ] super.primitive; primitive-unlifted = super.primitive-unlifted_0_1_3_1; + primitive-addr = super.primitive-addr_0_1_0_2; # Jailbreaks & Version Updates hashable-time = doJailbreak super.hashable-time; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index cb7a5fb640e5f..342f3d41cf7cd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -137,4 +137,6 @@ in { self.foldable1-classes-compat self.OneTuple ] super.base-compat-batteries; + + primitive-addr = self.primitive-addr_0_1_0_2; } diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 213458dbdd246..eeda1321e5695 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -89,6 +89,7 @@ extra-packages: - fourmolu == 0.14.0.0 # 2023-11-13: for ghc-lib-parser 9.6 compat - ormolu == 0.5.2.0 # 2023-08-08: for hls on ghc 9.0 and 9.2 - ormolu == 0.7.2.0 # 2023-11-13: for ghc-lib-parser 9.6 compat + - primitive-addr < 0.1.0.3 # 2024-03-20: for hls on ghc < 9.4.7 - primitive-unlifted == 0.1.3.1 # 2024-03-16: Needed for hls on ghc 9.2 - path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2 - resolv < 0.2 # required to build cabal-install-3.10.1.0 with Stackage LTS 21 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index a8bd0cb3bb9c9..b07ddf2b3a305 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -241419,6 +241419,20 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "primitive-addr_0_1_0_2" = callPackage + ({ mkDerivation, base, primitive }: + mkDerivation { + pname = "primitive-addr"; + version = "0.1.0.2"; + sha256 = "06r1p56wm8rbjxnlaqbmc3rbsj1rsv5scwnh80lsn0xw56jc70a2"; + revision = "2"; + editedCabalFile = "1s18b6xm6906ldj8wd2b2j885xbgvf5mzabd4mpl1ic7a9205qgn"; + libraryHaskellDepends = [ base primitive ]; + description = "Addresses to unmanaged memory"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "primitive-addr" = callPackage ({ mkDerivation, base, primitive }: mkDerivation { |