1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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;
};