cryptpad: fix darwin build
MacOS filesystem is not case sensitive and file collisions break hash, this should fix that problem. Co-authored-by: eljamm <fedi.jamoussi@protonmail.ch>
This commit is contained in:
@@ -146,7 +146,11 @@ buildNpmPackage {
|
|||||||
owner = "cryptpad";
|
owner = "cryptpad";
|
||||||
repo = "cryptpad";
|
repo = "cryptpad";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-veLtKjrk1CZe2u3MkozsPK98hyhdsWbQGUxh8oWjLXg=";
|
hash = "sha256-C5vj8vgSzR81NJhCSlY9sEoSAQs3ckeoCrChrSTTIso=";
|
||||||
|
# case-insensitive file results in different hash on darwin, delete to avoid collision
|
||||||
|
postFetch = ''
|
||||||
|
find $out -iname "funding.json" -delete
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-d/2JKGdC/tgDOo4Qr/0g83lh5gW6Varr0vkZUZe+WTA=";
|
npmDepsHash = "sha256-d/2JKGdC/tgDOo4Qr/0g83lh5gW6Varr0vkZUZe+WTA=";
|
||||||
|
|||||||
Reference in New Issue
Block a user