mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
cotp: use new Darwin SDK pattern
This commit is contained in:
parent
512e87a0f8
commit
f2ffd24d2a
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, AppKit
|
||||
, libxcb
|
||||
}:
|
||||
|
||||
@ -19,8 +18,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/replydev/cotp";
|
||||
|
@ -292,9 +292,7 @@ with pkgs;
|
||||
|
||||
cloak = callPackage ../applications/misc/cloak { };
|
||||
|
||||
cotp = callPackage ../applications/misc/cotp {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
cotp = callPackage ../applications/misc/cotp { };
|
||||
|
||||
cope = callPackage ../by-name/co/cope/package.nix {
|
||||
perl = perl538;
|
||||
|
Loading…
Reference in New Issue
Block a user