mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-22 05:04:13 +03:00
Merge pull request #268 from serokell/sereja/fix-overlay
[Chore] Fix overlay
This commit is contained in:
commit
88b3059b02
@ -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; }; })
|
||||
];
|
||||
};
|
||||
|
@ -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; [
|
||||
@ -147,6 +147,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
overlays.default = overlay;
|
||||
} //
|
||||
utils.lib.eachSystem (utils.lib.defaultSystems ++ ["aarch64-darwin"]) (system:
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user