summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-28 14:32:34 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-28 14:32:34 +0100
commitcdae0b1a00e8d231a59ecda330edeab19ce4c4d8 (patch)
treecd57a0101a6f84939cd89116ff8b37538e6be453 /flake.nix
parentb6b5ed965788da03c43a9132163a5b77b7d72604 (diff)
downloadnixos-cdae0b1a00e8d231a59ecda330edeab19ce4c4d8.tar
nixos-cdae0b1a00e8d231a59ecda330edeab19ce4c4d8.tar.gz
nixos-cdae0b1a00e8d231a59ecda330edeab19ce4c4d8.tar.bz2
nixos-cdae0b1a00e8d231a59ecda330edeab19ce4c4d8.tar.xz
nixos-cdae0b1a00e8d231a59ecda330edeab19ce4c4d8.zip
...
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 481f0214..625c16a8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -154,7 +154,7 @@
154 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev; 154 overlay = final: prev: composeManyExtensions (attrValues self.overlays) final prev;
155 overlays = mapAttrs (_name: path: import path) overlayPaths; 155 overlays = mapAttrs (_name: path: import path) overlayPaths;
156 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" '' 156 overlays-path = forAllSystems (system: _: self.legacyPackages.${system}.writeText "overlays.nix" ''
157 map import (builtins.attrValues (builtins.fromJSON ${self.legacyPackages.${system}.lib.strings.escapeNixString (toJSON (builtins.attrValues overlayPaths))})) 157 map import (builtins.attrValues (builtins.fromJSON ${self.legacyPackages.${system}.lib.strings.escapeNixString (toJSON overlayPaths)}))
158 ''); 158 '');
159 159
160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages; 160 packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages;