summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-02 14:13:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 20:18:01 +0100
commit609836e1390de77eb4bb2f7c32a47646d794eff0 (patch)
treefe63e566e57e03a7dddc41c2db90acf08e3f8973 /flake.nix
parentf487e082cd68e4b9798f5632a6bee80b6576eeee (diff)
downloadnixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar
nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.gz
nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.bz2
nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.xz
nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.zip
fix overlays-path
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 0740732c..83f92ac6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -129,7 +129,7 @@
129 overlay = import overlayPaths.pkgs; 129 overlay = import overlayPaths.pkgs;
130 overlays = mapAttrs (_name: path: import path) overlayPaths; 130 overlays = mapAttrs (_name: path: import path) overlayPaths;
131 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" '' 131 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" ''
132 map import (builtins.attrValues (builtins.fromJSON ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)})); 132 map import (builtins.attrValues (builtins.fromJSON (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)})));
133 ''); 133 '');
134 134
135 packages = forAllSystems (system: systemPkgs: composeManyExtensions (attrValues self.overlays) (self.legacyPackages.${system}) systemPkgs); 135 packages = forAllSystems (system: systemPkgs: composeManyExtensions (attrValues self.overlays) (self.legacyPackages.${system}) systemPkgs);