Skip to content

Commit 00fa4c7

Browse files
committed
override agda manually
1 parent 821840d commit 00fa4c7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

flake.nix

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@
88
flake-utils.lib.eachDefaultSystem (system:
99
let
1010
pkgs = import nixpkgs {inherit system;};
11-
agda2lambox = pkgs.haskellPackages.callCabal2nix "agda2lambox" ./. {};
11+
hpkgs = with pkgs; haskellPackages.override {
12+
overrides = haskell.lib.packageSourceOverrides {
13+
Agda = fetchFromGitHub {
14+
owner = "agda";
15+
repo = "agda";
16+
rev = "5c29109f8212ef61b0091d62ef9c8bfdfa16cf36";
17+
hash = "sha256-qiV/tk+/b3xYPJcWVVd7x9jrQjBzl1TXHPNEQbKV2rA=";
18+
};
19+
};
20+
};
21+
agda2lambox = hpkgs.callCabal2nix "agda2lambox" ./. {};
1222
in {
1323
packages = {
1424
inherit agda2lambox;

0 commit comments

Comments
 (0)