summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 1ef81d4c..481f0214 100644
--- a/flake.nix
+++ b/flake.nix
@@ -154,7 +154,7 @@
154 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev; 154 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev;
155 overlays = mapAttrs (_name: path: import path) overlayPaths; 155 overlays = mapAttrs (_name: path: import path) overlayPaths;
156 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" '' 156 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" ''
157 map import (builtins.attrValues (builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)})))) 157 map import (builtins.attrValues (builtins.fromJSON ${self.legacyPackages.${system}.lib.strings.escapeNixString (toJSON (builtins.attrValues overlayPaths))}))
158 ''); 158 '');
159 159
160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages; 160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages;