dwm-status: upgrade cargo fetcher and cargoSha256 (#82013)

This commit is contained in:
Benjamin Hipple 2020-03-08 19:19:09 -04:00 committed by GitHub
parent d1cdeb7aae
commit 0b933b4085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = [ dbus gdk-pixbuf libnotify xorg.libX11 ];
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "0l6x59bzzilc78gsi5rlgq9zjvp8qjphfsds776ljzmkbdq8q4iz";
cargoSha256 = "0xybd6110b29ghl66kxfs64704qlhnn9jb5vl7lfk9sv62cs564i";
postInstall = lib.optionalString (bins != []) ''
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${stdenv.lib.makeBinPath bins}"