summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-02 14:13:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-02 14:13:20 +0100
commit422c025d7e7d5452dbd0582606deb75f128464df (patch)
treeda906e436f9d7217fafc5ebb700d95447d6ab2ee
parenta3a250fdfe264db2759c72ca20cad30c3d11f394 (diff)
downloadnixos-422c025d7e7d5452dbd0582606deb75f128464df.tar
nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.gz
nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.bz2
nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.xz
nixos-422c025d7e7d5452dbd0582606deb75f128464df.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 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);