Build a flake extension to install fitnesstrax directly from git #187

Merged
savanni merged 3 commits from fitnesstrax/installer into main 2024-02-12 15:17:20 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit cb2bec4287 - Show all commits

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; };
dashboard = attrs: { nativeBuildInputs = gtkNativeInputs; };
fitnesstrax = attrs: { nativeBuildInputs = gtkNativeInputs; };
fitnesstrax = import ./fitnesstrax/app/override.nix { gtkNativeInputs = gtkNativeInputs; };
};
};