Skip to content

Commit ef898fb

Browse files
authored
nix: fix overlays (#1481)
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 9d23e85 commit ef898fb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

flake.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@
137137
let
138138
pkgsWithoutOverlays = (import nixpkgs { inherit system; });
139139
makeNixpkgs = ocaml: merlin:
140-
import nixpkgs {
141-
overlays = [ (ocamlVersionOverlay ocaml) (overlay merlin) ];
142-
inherit system;
143-
};
140+
pkgsWithoutOverlays.appendOverlays [ (ocamlVersionOverlay ocaml) (overlay merlin) ];
144141
pkgs_5_1 = makeNixpkgs "ocamlPackages_5_1" inputs.merlin5_1;
145142
pkgs_5_2 = makeNixpkgs "ocamlPackages_5_2" inputs.merlin5_2;
146143
pkgs_5_3 = makeNixpkgs "ocamlPackages_5_3" inputs.merlin5_3;

0 commit comments

Comments
 (0)