summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 15:23:46 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 15:23:46 +0100
commitf4fa33d0d258c4f66f804ed3fc3be590d8039e6e (patch)
treee1b5cb7859d70bd06d7783e4467e173edaeea25f
parent633135b9099b913dfd1ccf18f4c59d858bd57c2e (diff)
downloadnixos-f4fa33d0d258c4f66f804ed3fc3be590d8039e6e.tar
nixos-f4fa33d0d258c4f66f804ed3fc3be590d8039e6e.tar.gz
nixos-f4fa33d0d258c4f66f804ed3fc3be590d8039e6e.tar.bz2
nixos-f4fa33d0d258c4f66f804ed3fc3be590d8039e6e.tar.xz
nixos-f4fa33d0d258c4f66f804ed3fc3be590d8039e6e.zip
fix overlays-path
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index fd139d63..3c1507dd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -127,7 +127,7 @@
127 overlay = import overlayPaths.pkgs; 127 overlay = import overlayPaths.pkgs;
128 overlays = mapAttrs (_name: path: import path) overlayPaths; 128 overlays = mapAttrs (_name: path: import path) overlayPaths;
129 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" '' 129 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" ''
130 map import (builtins.attrValues (builtins.fromJSON (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)}))); 130 map import (builtins.attrValues (builtins.fromJSON (builtins.readFile ${self.legacyPackages.${system}.writeText "overlays.json" (toJSON overlayPaths)})))
131 ''); 131 '');
132 132
133 packages = forAllSystems (system: systemPkgs: composeManyExtensions (attrValues self.overlays) (self.legacyPackages.${system}) systemPkgs); 133 packages = forAllSystems (system: systemPkgs: composeManyExtensions (attrValues self.overlays) (self.legacyPackages.${system}) systemPkgs);