First pass at an installer override

This commit is contained in:
Savanni D'Gerinel 2024-02-10 12:28:12 -05:00
parent 5a93c4fdcd
commit cb2bec4287
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,8 @@
{ gtkNativeInputs }:
attrs: {
nativeBuildInputs = gtkNativeInputs;
postInstall = ''
install -Dt $out/share/applications resources/fitnesstrax.desktop
install -Dt $out/share/glib-2.0/schemas resources/com.luminescent-dreams.fitnesstrax.gschema.xml
'';
}

View File

@ -68,7 +68,7 @@
libadwaita-sys = attrs: { nativeBuildInputs = gtkNativeInputs; }; libadwaita-sys = attrs: { nativeBuildInputs = gtkNativeInputs; };
dashboard = attrs: { nativeBuildInputs = gtkNativeInputs; }; dashboard = attrs: { nativeBuildInputs = gtkNativeInputs; };
fitnesstrax = attrs: { nativeBuildInputs = gtkNativeInputs; }; fitnesstrax = import ./fitnesstrax/app/override.nix { gtkNativeInputs = gtkNativeInputs; };
}; };
}; };