summaryrefslogtreecommitdiff
path: root/flake.nix
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 20:18:01 +0100
commit63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525 (patch)
treec63f20f33dcb596b3aa7a41db28ddb1973029d2e /flake.nix
parent20ea49851dfd6e37d40d8a8a924676b95bf0d98d (diff)
downloadnixos-63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525.tar
nixos-63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525.tar.gz
nixos-63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525.tar.bz2
nixos-63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525.tar.xz
nixos-63a687c8c50ba8fcd2d6130d5a2e0d33dcce1525.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 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);