Loading pkgs/tools/networking/termscp/default.nix +31 −25 Original line number Diff line number Diff line { lib , stdenv , dbus , fetchFromGitHub , openssl , pkg-config , rustPlatform , AppKit , Cocoa , Foundation , Security , samba { lib, stdenv, dbus, fetchFromGitHub, openssl, pkg-config, rustPlatform, AppKit, Cocoa, Foundation, Security, samba, }: rustPlatform.buildRustPackage rec { Loading @@ -29,11 +30,13 @@ rustPlatform.buildRustPackage rec { pkg-config ]; buildInputs = [ buildInputs = [ dbus openssl samba ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Cocoa Foundation Loading @@ -43,9 +46,12 @@ rustPlatform.buildRustPackage rec { # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ]); env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ] ); # Requires network access doCheck = false; Loading Loading
pkgs/tools/networking/termscp/default.nix +31 −25 Original line number Diff line number Diff line { lib , stdenv , dbus , fetchFromGitHub , openssl , pkg-config , rustPlatform , AppKit , Cocoa , Foundation , Security , samba { lib, stdenv, dbus, fetchFromGitHub, openssl, pkg-config, rustPlatform, AppKit, Cocoa, Foundation, Security, samba, }: rustPlatform.buildRustPackage rec { Loading @@ -29,11 +30,13 @@ rustPlatform.buildRustPackage rec { pkg-config ]; buildInputs = [ buildInputs = [ dbus openssl samba ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Cocoa Foundation Loading @@ -43,9 +46,12 @@ rustPlatform.buildRustPackage rec { # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ]); env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ] ); # Requires network access doCheck = false; Loading