Skip to content

Commit f80f07a

Browse files
jneiramichaelpjmergify[bot]
authored
Remove custom version of operational (#2249)
* Remove operational custom version * Update index to get new version * Use operational released version * Remove custom operational version in nix * Remove operational for ghc-9.2 * Add Nix override for operational Nixpkgs hasn't caught up with hackage yet. Co-authored-by: Michael Peyton Jones <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 8ee73d0 commit f80f07a

File tree

4 files changed

+11
-24
lines changed

4 files changed

+11
-24
lines changed

cabal-ghc901.project

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,9 @@ source-repository-package
5353
subdir: dependent-sum-template
5454
-- https://github.com/obsidiansystems/dependent-sum/pull/59
5555

56-
-- benchmark dependency
57-
source-repository-package
58-
type: git
59-
location: https://github.com/HeinrichApfelmus/operational
60-
tag: 16e19aaf34e286f3d27b3988c61040823ec66537
61-
6256
write-ghc-environment-files: never
6357

64-
index-state: 2021-09-16T07:00:23Z
58+
index-state: 2021-09-29T21:38:47Z
6559

6660
constraints:
6761
-- These plugins don't work on GHC9 yet

cabal-ghc921.project

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ source-repository-package
3636
tag: b6245884ae83e00dd2b5261762549b37390179f8
3737
-- https://github.com/lspitzner/czipwith/pull/2
3838

39-
-- benchmark dependency
40-
source-repository-package
41-
type: git
42-
location: https://github.com/HeinrichApfelmus/operational
43-
tag: 16e19aaf34e286f3d27b3988c61040823ec66537
44-
4539
-- Head of hiedb
4640
source-repository-package
4741
type: git
@@ -57,7 +51,7 @@ source-repository-package
5751

5852
write-ghc-environment-files: never
5953

60-
index-state: 2021-09-16T07:00:23Z
54+
index-state: 2021-09-29T21:38:47Z
6155

6256
constraints:
6357
-- These plugins doesn't work on GHC9 yet

configuration-ghc-901.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ let
6262

6363
ormolu = hself.ormolu_0_2_0_0;
6464

65-
operational = hself.callCabal2nix "operational" (pkgs.fetchFromGitHub {
66-
owner = "HeinrichApfelmus";
67-
repo = "operational";
68-
rev = "16e19aaf34e286f3d27b3988c61040823ec66537";
69-
sha256 = "P+aocEcqCN8klnW3IMrmIqq6ztBZJxk4sBp1ewN6YaA=";
70-
}) { };
71-
7265
diagrams-core = hself.diagrams-core_1_5_0;
7366

7467
diagrams-lib = hself.diagrams-lib_1_4_4;
@@ -77,6 +70,14 @@ let
7770

7871
monoid-extras = hself.monoid-extras_0_6;
7972

73+
# Released on hackage, but not in nixpkgs yet
74+
operational = hself.callCabal2nix "operational" (pkgs.fetchFromGitHub {
75+
owner = "HeinrichApfelmus";
76+
repo = "operational";
77+
rev = "2b33e0055066cf92a302ee2c32058dfa44ac8882";
78+
sha256 = "sha256-nwB4vssm4wUTkVryjQVb3peOwR6js7vdekkbaWedHNI=";
79+
}) { };
80+
8081
# Re-generate HLS drv excluding some plugins
8182
haskell-language-server =
8283
hself.callCabal2nixWithOptions "haskell-language-server" ./.

stack-9.0.1.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,12 @@ extra-deps:
7878
- Chart-1.9.3@sha256:640a38463318b070d80a049577e4f0b3322df98290abb7afcf0cb74a4ad5b512,2948
7979
- Chart-diagrams-1.9.3@sha256:1535d5d0d3febca63138cecfde234315212611c21bb7f4358b2dae8c55c59003,1801
8080
- statestack-0.3@sha256:be43ce2cd790a4732b88cdc9480458503cb5e307b4f79a502d99d5b3d417730e,1135
81+
- operational-0.2.4.0
8182

8283
- github: diagrams/active
8384
commit: ca23431a8dfa013992f9164ccc882a3277361f17
8485
# https://github.com/diagrams/active/pull/36
8586

86-
- github: HeinrichApfelmus/operational
87-
commit: 16e19aaf34e286f3d27b3988c61040823ec66537
88-
8987
# end of shake-bench dpendencies
9088

9189
# due to floskell-0.10.5 and diagrams-core-1.5.0

0 commit comments

Comments
 (0)