arti: move to by-name

Move the package to the new by-name structure.
This commit is contained in:
Viorel-Cătălin Răpițeanu
2024-09-28 23:44:36 +03:00
parent 19d2ec01a2
commit 5136e375f2
2 changed files with 8 additions and 7 deletions
@@ -5,7 +5,7 @@
, pkg-config
, sqlite
, openssl
, CoreServices
, darwin
}:
rustPlatform.buildRustPackage rec {
@@ -26,8 +26,13 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
buildInputs = [ sqlite ]
++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
++ lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
[
CoreServices
]
);
cargoBuildFlags = [ "--package" "arti" ];
-4
View File
@@ -293,10 +293,6 @@ with pkgs;
ares-rs = callPackage ../tools/security/ares-rs { };
arti = callPackage ../tools/security/arti {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
asn1c = callPackage ../development/compilers/asn1c { };
authz0 = callPackage ../tools/security/authz0 { };