Fix flake overlay attr (#684)
Fix flake overlay attr
Solves the following error:
while evaluating the attribute 'overlays.combined-eval-on-build' at /nix/store/0gg5rsi7nvwlk2ky1w595qyjgwpqj35g-source/flake.nix:11:5:
value is a function while a set was expected, at /nix/store/0gg5rsi7nvwlk2ky1w595qyjgwpqj35g-source/flake.nix:10:15
commitc7e6531d2cf9b6bc85c24dd69eddbdf28f1caa4b
authorTony O <822863+bqv@users.noreply.github.com>
dateSun 14 Jun 2020, 11:30 (6 years ago)
parenta405a83
flake.nix+1−1
@@ -7,7 +7,7 @@
77 # Using the eval-on-build version here as the plan is that
88 # `builtins.currentSystem` will not be supported in flakes.
99 # https://github.com/NixOS/rfcs/pull/49/files#diff-a5a138ca225433534de8d260f225fe31R429
10− overlay = self.overlays.combined-eval-on-build;
10+ overlay = (self.overlays {}).combined-eval-on-build;
1111 overlays = import ./overlays;
1212 config = import ./config.nix;
1313 sources = import ./nixpkgs;
overlays/default.nix+1−1
@@ -53,4 +53,4 @@ let
5353 (ordered ++ [overlays.eval-on-current]);
5454 combined-eval-on-build = builtins.foldl' composeExtensions (_: _: { })
5555 (ordered ++ [overlays.eval-on-build]);
56−in overlays // { inherit combined; }
56+in overlays // { inherit combined combined-eval-on-build; }