summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-28 14:30:24 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-28 14:30:24 +0100
commitb6b5ed965788da03c43a9132163a5b77b7d72604 (patch)
tree8b088d2c3597588498643895a08e27ca0f829f85
parent9a29d2e4f1b4683d15072134b8bfc7504d1b6f42 (diff)
downloadnixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar
nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.gz
nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.bz2
nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.xz
nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.zip
...
-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;