diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-28 14:30:24 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-28 14:30:24 +0100 |
commit | b6b5ed965788da03c43a9132163a5b77b7d72604 (patch) | |
tree | 8b088d2c3597588498643895a08e27ca0f829f85 | |
parent | 9a29d2e4f1b4683d15072134b8bfc7504d1b6f42 (diff) | |
download | nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.gz nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.bz2 nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.tar.xz nixos-b6b5ed965788da03c43a9132163a5b77b7d72604.zip |
...
-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; |