fix krita
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
appimageTools,
|
||||
fetchurl
|
||||
fetchurl,
|
||||
makeWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -21,6 +22,12 @@ appimageTools.wrapType2 {
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/org.kde.krita.desktop $out/share/applications/krita.desktop
|
||||
install -m 444 -D ${appimageContents}/krita.png $out/share/icons/hicolor/256x256/apps/krita.png
|
||||
substituteInPlace $out/share/applications/krita.desktop \
|
||||
--replace-fail "Exec=krita" "Exec=krita-appimage"
|
||||
|
||||
source ${makeWrapper}/nix-support/setup-hook
|
||||
wrapProgram $out/bin/${pname} \
|
||||
--set FONTCONFIG_FILE /etc/fonts/fonts.conf
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user