paperlib: fix darwin build (#359118)

This commit is contained in:
Weijia Wang 2024-11-27 22:14:17 +01:00 committed by GitHub
commit 920193c24a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ let
fetchurl
{
x86_64-darwin = {
url = "https://github.com/Future-Scholars/peperlib/releases/download/release-electron-${version}/Paperlib_${version}.dmg";
url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}.dmg";
hash = "sha256-d9vEFx59K15PO7DJYJQ2fjiagqa8oJLtoawILDF9IKc=";
};
x86_64-linux = {
@ -49,6 +49,8 @@ if stdenv.hostPlatform.isDarwin then
passthru
;
sourceRoot = ".";
nativeBuildInputs = [ undmg ];
installPhase = ''