mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
@@ -57,10 +57,28 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
qtWrapperArgs+=(--prefix PYTHONPATH : "$PYTHONPATH")
|
||||
'';
|
||||
|
||||
fixupPhase =
|
||||
let
|
||||
sigil =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
"$out/Applications/Sigil.app/Contents/MacOS/Sigil"
|
||||
else
|
||||
"$out/bin/sigil";
|
||||
in
|
||||
''
|
||||
runHook preFixup
|
||||
|
||||
wrapQtApp "${sigil}"
|
||||
|
||||
runHook postFixup
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Free, open source, multi-platform ebook (ePub) editor";
|
||||
homepage = "https://github.com/Sigil-Ebook/Sigil/";
|
||||
|
||||
Reference in New Issue
Block a user