1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #80219 from bhipple/u/rust-cargo-xidlehook

xidlehook: fix build by migrating off legacy fetchCargo
This commit is contained in:
Mario Rodas 2020-02-16 20:48:35 -05:00 committed by GitHub
commit 1d6d9d9850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,10 +16,7 @@ rustPlatform.buildRustPackage rec {
};
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "0jdkcxvlw7s8pz1ka3d2w97356a2axvlwfgyh2dz7nmfzpjx64x0";
cargoSha256 = "0wakw3pqgwfwarjfb3h0a2javrhnf509v3j547a7p9k5kbjb5np0";
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkgconfig patchelf python3 ];