Skip to content

Commit d83e2df

Browse files
committed
Try using unsafeDiscardStringContext
1 parent c9ffefb commit d83e2df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

overlays/haskell.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,9 @@ final: prev: {
646646
inherit (config) compiler-nix-name compilerSelection evalPackages;
647647
selectedCompiler = (compilerSelection final.buildPackages).${compiler-nix-name};
648648

649-
plan-json = builtins.fromJSON (builtins.readFile (callProjectResults.projectNix + "/plan.json"));
649+
plan-json = builtins.fromJSON (
650+
builtins.unsafeDiscardStringContext (
651+
builtins.readFile (callProjectResults.projectNix + "/plan.json")));
650652
by-id = final.lib.listToAttrs (map (x: { name = x.id; value = x; }) plan-json.install-plan);
651653
to-key = p: if p.type == "pre-existing"
652654
then p.pkg-name

0 commit comments

Comments
 (0)