Add the desktop shortcut and the gsettings schema to the fitnesstrax installation
This commit is contained in:
parent
cb2bec4287
commit
4dd6afeae7
|
@ -3,6 +3,12 @@ attrs: {
|
||||||
nativeBuildInputs = gtkNativeInputs;
|
nativeBuildInputs = gtkNativeInputs;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dt $out/share/applications resources/fitnesstrax.desktop
|
install -Dt $out/share/applications resources/fitnesstrax.desktop
|
||||||
install -Dt $out/share/glib-2.0/schemas resources/com.luminescent-dreams.fitnesstrax.gschema.xml
|
install -Dt $out/gsettings-schemas/${attrs.crateName}-${attrs.version}/glib-2.0/schemas resources/com.luminescent-dreams.fitnesstrax.gschema.xml
|
||||||
|
glib-compile-schemas $out/gsettings-schemas/${attrs.crateName}-${attrs.version}/glib-2.0/schemas
|
||||||
|
'';
|
||||||
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(
|
||||||
|
--prefix XDG_DATA_DIRS : $out/gsettings-schemas/${attrs.crateName}-${attrs.version}
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
}
|
}
|
Loading…
Reference in New Issue