rustus: move to by-name

This commit is contained in:
wxt 2024-11-13 12:43:31 +08:00
parent 872d3124f6
commit f507397ee5
No known key found for this signature in database
GPG Key ID: F62181757D8BF693
2 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
, nix-update-script
, pkg-config
, openssl
, Security
, darwin,
}:
let
@ -22,7 +22,11 @@ rustPlatform.buildRustPackage {
hash = "sha256-osxdqwNUONCScFarpQV48C7CR1DVR/mCttaglqiAKPo=";
};
cargoHash = "sha256-M0mJ+9VznzHDmdKAsT3YamyG/P0JF8oPeVHaX44NWM4=";
cargoPatch = [
./0001-update-time-rs.diff
];
cargoHash = "sha256-10mJ+9VznzHDmdKAsT3YamyG/P0JF8oPeVHaX44NWM4=";
env.OPENSSL_NO_VENDOR = 1;
@ -33,7 +37,7 @@ rustPlatform.buildRustPackage {
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
darwin.apple_sdk.frameworks.Security
];
passthru.updateScript = nix-update-script { };

View File

@ -11824,10 +11824,6 @@ with pkgs;
eventstore = callPackage ../servers/nosql/eventstore { };
rustus = callPackage ../servers/networking/rustus {
inherit (darwin.apple_sdk.frameworks) Security;
};
fedigroups = callPackage ../servers/fedigroups {
inherit (darwin.apple_sdk.frameworks) Security;
};