Skip to content

Commit

Permalink
arti: move to by-name
Browse files Browse the repository at this point in the history
Move the package to the new by-name structure.
  • Loading branch information
Steinhagen committed Sep 28, 2024
1 parent 19d2ec0 commit 5136e37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
, pkg-config
, sqlite
, openssl
, CoreServices
, darwin
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -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" ];

Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 5136e37

Please sign in to comment.