aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2020-11-18 07:40:59 +1100
committerJustin Bedo <cu@cua0.org>2020-11-18 07:40:59 +1100
commiteede5717879062ef0cebde2a5718725e7afd17ca (patch)
treed69da87c0f95b065373ef96d7016c5270039ee88
parent021e391f3a5be274931f41cba3f302647cce180a (diff)
switch to unchecked ADTs
Checked ADTs are causing an issue with the new overlays. If an overlay that provides the entire tree is used, e.g.,: (self: super: super.slurm {}) then the result is unusable due to ADT type checking errors.
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index f711170..fbc7513 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -11,7 +11,7 @@ let
sha256 = "0vhk1y7gilgn2pgvj4813bh2ljpw4pvrph8k8b0fsg56dbm8mqxa";
};
nix-adt = import "${nix-adt-src}";
- inherit (nix-adt.checked) make-type match any std none;
+ inherit (nix-adt.unchecked) make-type match any std none;
inherit (std) option;
idft = sym: ft: _: abort "unhandled filetype (${ft}) for ${sym}";