Skip to content

Commit 6c43c81

Browse files
committed
Add temporary overlay to overwrite agda-sets
1 parent 97386a2 commit 6c43c81

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

flake.lock

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
nixpkgs.url = "github:NixOs/nixpkgs";
77
flake-utils.url = "github:numtide/flake-utils";
88

9+
abstract-set-theory = {
10+
url = "github:input-output-hk/agda-sets/de39823e91d845232bbf22058565d0553f5da2ac";
11+
flake = false;
12+
};
13+
914
agda-nix = {
1015
url = "github:input-output-hk/agda.nix";
1116
inputs.nixpkgs.follows = "nixpkgs";
@@ -38,6 +43,16 @@
3843
);
3944
};
4045

46+
overlay-abstract-set-theory = final: prev: {
47+
agdaPackages = prev.agdaPackages.overrideScope (
48+
afinal: aprev: {
49+
abstract-set-theory = aprev.abstract-set-theory.overrideAttrs (_: {
50+
src = inputs.abstract-set-theory;
51+
});
52+
}
53+
);
54+
};
55+
4156
perSystem = flake-utils.lib.eachSystem systems (
4257
system:
4358
let
@@ -48,6 +63,7 @@
4863
# (see https://github.com/NixOS/nixpkgs/issues/447012)
4964
inputs.fls-agda.overlays.default
5065
inputs.agda-nix.overlays.default
66+
overlay-abstract-set-theory
5167
overlay-formal-ledger
5268
];
5369
};

0 commit comments

Comments
 (0)