summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-12 22:38:51 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-12 22:38:51 +0100
commite6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef (patch)
tree0b70bdd1f09d8d736f07b403811d5a67d2aeefea
parentaec4723a63d03527a83a99b5a936a4fe5c281af7 (diff)
downloadnixos-e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef.tar
nixos-e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef.tar.gz
nixos-e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef.tar.bz2
nixos-e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef.tar.xz
nixos-e6b4c4a34c907f4fc5bbf0da5c1bbbc2aa1594ef.zip
...
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 744c3b93..e6ce4b05 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.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)}))) 157 map import (builtins.attrValues (builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)}))))
158 ''); 158 '');
159 159
160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages; 160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages;