diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-02 14:13:20 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-02 14:13:20 +0100 |
commit | 422c025d7e7d5452dbd0582606deb75f128464df (patch) | |
tree | da906e436f9d7217fafc5ebb700d95447d6ab2ee /flake.nix | |
parent | a3a250fdfe264db2759c72ca20cad30c3d11f394 (diff) | |
download | nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.gz nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.bz2 nixos-422c025d7e7d5452dbd0582606deb75f128464df.tar.xz nixos-422c025d7e7d5452dbd0582606deb75f128464df.zip |
fix overlays-path
Diffstat (limited to 'flake.nix')
-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); |