diff options
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |