Skip to content

Commit 6d5b50b

Browse files
committed
Override operational
1 parent f0cb755 commit 6d5b50b

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

cabal-ghc901.project

+7
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ source-repository-package
7575
subdir: lsp-test
7676
-- https://github.com/haskell/lsp/pull/312
7777

78+
-- benchmark dependency
79+
source-repository-package
80+
type: git
81+
location: https://github.com/berberman/operational
82+
tag: 0e062895678f49fd673ae493371262cfb8c5ab56
83+
-- https://github.com/HeinrichApfelmus/operational/pull/26
84+
7885
write-ghc-environment-files: never
7986

8087
index-state: 2021-06-30T16:00:00Z

configuration-ghc-901.nix

+9-1
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,20 @@ let
7979
hself.callCabal2nix "dependent-sum" "${dependent-sum-src}/dependent-sum"
8080
{ };
8181

82-
hlint = hself.callCabal2nix "hlint" hlint_3_3_1-src { };
82+
hlint = hself.hlint_3_3_1;
8383

8484
ghc-lib-parser = hself.ghc-lib-parser_9_0_1_20210324;
8585

8686
ghc-lib-parser-ex = hself.ghc-lib-parser-ex_9_0_0_4;
8787

88+
operational = hself.callCabal2nix "operational"
89+
(pkgs.fetchFromGitHub {
90+
owner = "berberman";
91+
repo = "operational";
92+
rev = "0e062895678f49fd673ae493371262cfb8c5ab56";
93+
sha256 = "P+aocEcqCN8klnW3IMrmIqq6ztBZJxk4sBp1ewN6YaA=";
94+
}) { };
95+
8896
# Re-generate HLS drv excluding some plugins
8997
haskell-language-server =
9098
hself.callCabal2nixWithOptions "haskell-language-server" ./.

stack-9.0.1.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ extra-deps:
9494
commit: ca23431a8dfa013992f9164ccc882a3277361f17
9595
# https://github.com/diagrams/active/pull/36
9696

97+
# benchmark dependency
98+
- github: berberman/operational
99+
commit: 0e062895678f49fd673ae493371262cfb8c5ab56
100+
# https://github.com/HeinrichApfelmus/operational/pull/26
101+
97102
configure-options:
98103
ghcide:
99104
- --disable-library-for-ghci

0 commit comments

Comments
 (0)