switch build to fyne tool

This commit is contained in:
Aaron Bieber 2024-08-19 19:37:41 -06:00
parent f6a61b3918
commit 77bf16aa58
No known key found for this signature in database

View File

@ -25,6 +25,7 @@
nativeBuildInputs = [ pkg-config copyDesktopItems ];
buildInputs = [
fyne
git
glfw
libGL
@ -42,18 +43,13 @@
libxkbcommon
];
desktopItems = [
(makeDesktopItem {
name = "Xin Tray";
exec = pname;
icon = pname;
desktopName = pname;
})
];
buildPhase = ''
${fyne}/bin/fyne build
'';
postInstall = ''
mkdir -p $out/share/
cp -r icons $out/share/
installPhase = ''
mkdir -p $out/bin
cp xintray $out/bin/
'';
};
});
@ -69,6 +65,7 @@
echo "Go `${pkgs.go}/bin/go version`"
'';
buildInputs = with pkgs; [
fyne
git
go
gopls