Skip to content

Commit

Permalink
fix: compose overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Oct 28, 2023
1 parent 53473ab commit da235c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
in

{
overlays.default = import ./overlay.nix;
overlays.default = nixpkgs.lib.composeManyExtensions [ (import ./overlay.nix) ];
lib.mkPoetry2Nix = { pkgs }: import ./default.nix { inherit pkgs; };

githubActions =
Expand All @@ -31,7 +31,7 @@
allowAliases = false;
allowInsecurePredicate = _: true;
};
inherit (self) overlays;
overlays = [ self.overlays.default ];
inherit system;
};
in
Expand Down
2 changes: 1 addition & 1 deletion tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ in
allowAliases = false;
allowInsecurePredicate = _: true;
};
overlays = [ flake.overlay ];
overlays = [ flake.overlays.default ];
}
}:
let
Expand Down

0 comments on commit da235c7

Please sign in to comment.