From e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Feb 2022 22:38:51 +0100 Subject: ... --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 744c3b93..e6ce4b05 100644 --- a/flake.nix +++ b/flake.nix @@ -154,7 +154,7 @@ overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev; overlays = mapAttrs (_name: path: import path) overlayPaths; overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" '' - map import (builtins.attrValues (builtins.fromJSON (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)}))) + map import (builtins.attrValues (builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)})))) ''); packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages; -- cgit v1.2.3