paperlib: fix darwin build

This commit is contained in:
Weijia Wang 2024-11-25 22:19:44 +01:00
parent f34aac0ca9
commit 16001585a3

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 = ''