diff --git a/pkgs/by-name/pa/paperlib/package.nix b/pkgs/by-name/pa/paperlib/package.nix index d39e35be942b..61c7fca9818d 100644 --- a/pkgs/by-name/pa/paperlib/package.nix +++ b/pkgs/by-name/pa/paperlib/package.nix @@ -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 = ''