Desktop: Remove winit fork, fix nix package, and improve rendering (#3307)

* reduce triangle count

* switch to winit repo after changes where upstreamed

* fix nix pkg
This commit is contained in:
Timon
2025-10-25 00:47:36 +00:00
committed by GitHub
parent 3a80560a68
commit 52e98ea8a3
4 changed files with 33 additions and 37 deletions
+5 -3
View File
@@ -107,7 +107,6 @@
allowBuiltinFetchGit = true;
};
# TODO: Remove the need for this hash by using individual package resolutions and hashes from package-lock.json
npmDeps = pkgs.fetchNpmDeps {
inherit (finalAttrs) pname version;
@@ -131,7 +130,10 @@
buildPhase = ''
export HOME="$TMPDIR"
npm run build-desktop
pushd frontend
npm run build-native
popd
cargo build -r -p graphite-desktop
'';
installPhase = ''
@@ -144,7 +146,7 @@
mkdir -p $out/share/icons/hicolor/scalable/apps
cp $src/desktop/assets/graphite-icon-color.svg $out/share/icons/hicolor/scalable/apps/
'';
doCheck = false;
postFixup = ''