Merge pull request #88468 from lilyball/ffsend
ffsend: don't require openssl on darwin
This commit is contained in:
commit
9caecc8bc5
@ -28,9 +28,9 @@ buildRustPackage rec {
|
|||||||
cargoSha256 = "0svmbay9waaq9fpc8lg1nys6l35xsjvkri5v1frlgxida5dzghpq";
|
cargoSha256 = "0svmbay9waaq9fpc8lg1nys6l35xsjvkri5v1frlgxida5dzghpq";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig installShellFiles ];
|
nativeBuildInputs = [ cmake pkgconfig installShellFiles ];
|
||||||
buildInputs = [ openssl ]
|
buildInputs =
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security AppKit ])
|
if stdenv.isDarwin then (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security AppKit ])
|
||||||
;
|
else [ openssl ];
|
||||||
|
|
||||||
preBuild = stdenv.lib.optionalString (x11Support && usesX11) (
|
preBuild = stdenv.lib.optionalString (x11Support && usesX11) (
|
||||||
if preferXsel && xsel != null then ''
|
if preferXsel && xsel != null then ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user