Skip to content

Commit

Permalink
Merge pull request #268 from serokell/sereja/fix-overlay
Browse files Browse the repository at this point in the history
[Chore] Fix overlay
  • Loading branch information
Sereja313 authored Apr 1, 2024
2 parents 2bad218 + f10a3aa commit 88b3059
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ In the above configuration, `deploy-rs` is built from the flake, not from nixpkg
deployPkgs = import nixpkgs {
inherit system;
overlays = [
deploy-rs.overlay
deploy-rs.overlay # or deploy-rs.overlays.default
(self: super: { deploy-rs = { inherit (pkgs) deploy-rs; lib = super.deploy-rs.lib; }; })
];
};
Expand Down
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
};

outputs = { self, nixpkgs, utils, ... }@inputs:
{
overlays.default = final: prev: let
rec {
overlay = final: prev: let
system = final.stdenv.hostPlatform.system;
darwinOptions = final.lib.optionalAttrs final.stdenv.isDarwin {
buildInputs = with final.darwin.apple_sdk.frameworks; [
Expand Down Expand Up @@ -147,6 +147,7 @@
};
};
};
overlays.default = overlay;
} //
utils.lib.eachSystem (utils.lib.defaultSystems ++ ["aarch64-darwin"]) (system:
let
Expand Down

0 comments on commit 88b3059

Please sign in to comment.