diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-02 14:13:20 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 20:18:01 +0100 |
commit | 609836e1390de77eb4bb2f7c32a47646d794eff0 (patch) | |
tree | fe63e566e57e03a7dddc41c2db90acf08e3f8973 | |
parent | f487e082cd68e4b9798f5632a6bee80b6576eeee (diff) | |
download | nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.gz nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.bz2 nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.tar.xz nixos-609836e1390de77eb4bb2f7c32a47646d794eff0.zip |
fix overlays-path
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |