dust: fix extraPostFetch

This commit is contained in:
Sandro Jäckel 2021-02-12 04:22:05 +01:00
parent 141126f5e1
commit cd6ce0c534
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -8,11 +8,11 @@ rustPlatform.buildRustPackage rec {
owner = "bootandy";
repo = "dust";
rev = "v${version}";
sha256 = "sha256-JwGa1icwV1yqxy90Psd9bzM7VzM7HPA6kONkI3Y745Q=";
sha256 = "1knl7kwngmq598bnlvlq9x8sqp914sv1abfm55kw9f7mja2d6pw0";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
extraPostFetch = ''
rm -rf $out/src/test_dir3/
rm -r $out/tests/test_dir_unicode/
'';
};
@ -24,6 +24,6 @@ rustPlatform.buildRustPackage rec {
description = "du + rust = dust. Like du but more intuitive";
homepage = "https://github.com/bootandy/dust";
license = licenses.asl20;
maintainers = [ maintainers.infinisil ];
maintainers = with maintainers; [ infinisil SuperSandro2000 ];
};
}