termusic: fix build
This commit is contained in:
parent
24f7710cb6
commit
b5404e7f51
@ -41,9 +41,9 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
pushd $cargoDepsCopy/stream-download
|
||||
pushd $cargoDepsCopy/stream-download-0.6.0
|
||||
oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1)
|
||||
substituteInPlace $cargoDepsCopy/stream-download/src/lib.rs \
|
||||
substituteInPlace $cargoDepsCopy/stream-download-0.6.0/src/lib.rs \
|
||||
--replace-warn '#![doc = include_str!("../README.md")]' ""
|
||||
substituteInPlace .cargo-checksum.json \
|
||||
--replace-warn $oldHash $(sha256sum src/lib.rs | cut -d " " -f 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user