Skip to content

Commit 318abbe

Browse files
committed
use versioned hackage libraries
1 parent fb5e5c9 commit 318abbe

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

configuration-ghc-92.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let
1919
doCheck = false;
2020
});
2121
} // (builtins.mapAttrs (_: drv: disableLibraryProfiling drv) {
22-
apply-refact = hsuper.apply-refact_0_13_0_0;
22+
apply-refact = hself.callHackage "apply-refact" "0.13.0.0" { };
2323

2424
# ptr-poker breaks on MacOS without SSE2 optimizations
2525
# https://github.com/nikita-volkov/ptr-poker/issues/11

configuration-ghc-94.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let
1313
{
1414
hlsDisabledPlugins = disabledPlugins;
1515
} // (builtins.mapAttrs (_: drv: disableLibraryProfiling drv) {
16-
apply-refact = hsuper.apply-refact_0_13_0_0;
16+
apply-refact = hself.callHackage "apply-refact" "0.13.0.0" { };
1717

1818
stylish-haskell = appendConfigureFlag hsuper.stylish-haskell "-fghc-lib";
1919

configuration-ghc-96.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ let
2828
broken = false;
2929
doCheck = false;
3030
});
31-
apply-refact = hsuper.apply-refact_0_13_0_0;
31+
32+
apply-refact = hself.callHackage "apply-refact" "0.13.0.0" { };
3233
tagged = hself.callHackage "tagged" "0.8.7" { };
3334
primitive = hself.callHackage "primitive" "0.8.0.0" { };
3435
unix-compat = hself.callCabal2nix "unix-compat" inputs.haskell-unix-compat { };
@@ -42,7 +43,7 @@ let
4243
# https://github.com/nikita-volkov/ptr-poker/issues/11
4344
ptr-poker = hself.callCabal2nix "ptr-poker" inputs.ptr-poker { };
4445

45-
ormolu = hself.ormolu_0_5_3_0;
46+
ormolu = hself.callHackage "ormolu" "0.5.3.0" { };
4647

4748
# TODO: smunix: nix fails to build fourmolu-0.13 from Hackage with these errors:
4849
# tar: */fourmolu/0.13.0.0/fourmolu.json: Not found in archive

0 commit comments

Comments
 (0)