From db66b0dbb73e52e23b8abc8c85e7e7be6e33ff4f Mon Sep 17 00:00:00 2001 From: Sapphire Date: Mon, 22 Sep 2025 01:28:55 -0500 Subject: [PATCH 1/5] Update flake inputs --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 0dd329e1..7a81736a 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1751413152, - "narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=", + "lastModified": 1756770412, + "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "77826244401ea9de6e3bac47c2db46005e1f30b5", + "rev": "4524271976b625a4a605beefd893f270620fd751", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1751271578, - "narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=", + "lastModified": 1758690382, + "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df", + "rev": "e643668fd71b949c53f8626614b21ff71a07379d", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1751159883, - "narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=", + "lastModified": 1754788789, + "narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab", + "rev": "a73b9c743612e4244d865a2fdee11865283c04e6", "type": "github" }, "original": { From 0ec2cd5a3e5c701f47d14e4ee56f613dabc63c08 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Sep 2025 23:14:04 -0500 Subject: [PATCH 2/5] Filter src in flake --- flake.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 93304fe4..5ad911ff 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,21 @@ ]; package = pkgs.enableDebugging (pkgs.wivrn.overrideAttrs (finalAttrs: oldAttrs: { - src = ./.; + # Filter the directories and files we don't need to keep to avoid needless rebuilds + src = lib.cleanSourceWith { + filter = name: type: let + baseName = baseNameOf (toString name); + in + (lib.cleanSourceFilter name type) && + !( + (type == "directory" && ( + baseName == ".direnv" + || baseName == ".cxx" + || lib.hasPrefix "build" baseName)) + || baseName == ".envrc" + ); + src = ./.; + }; version = "next"; # Because src is just a folder path and not a set from a fetcher, it doesn't need to be unpacked, so having a postUnpack throws an error. From 79a34bcdd55aefca7d4bc23c1ed6d96c8616010b Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Sep 2025 23:16:38 -0500 Subject: [PATCH 3/5] Print full nix build logs in CI --- .github/workflows/Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 04c1921c..d134ea47 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -156,7 +156,7 @@ jobs: - uses: cachix/install-nix-action@v31 - run: nix flake check - - run: nix build + - run: nix build --print-build-logs build-test-client: name: Linux client From 190f4ae8bb7b0a9c0924fec8c800582f17d3de8f Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Sep 2025 23:17:35 -0500 Subject: [PATCH 4/5] Remove stale overrides from nix package --- flake.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/flake.nix b/flake.nix index 5ad911ff..37a34f26 100644 --- a/flake.nix +++ b/flake.nix @@ -64,18 +64,6 @@ buildInputs = oldAttrs.buildInputs ++ extraBuildInputs; nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs; - - dontWrapQtApps = true; - - preFixup = '' - wrapQtApp "$out/bin/wivrn-dashboard" \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.vulkan-loader ]} - ''; - postFixup = null; - - cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [ - (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Debug") - ]; })); in { packages = { From fb3786fc2dbe56b7f23e31fc0a41b67001259fe4 Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sun, 28 Sep 2025 23:28:44 -0500 Subject: [PATCH 5/5] Disable Rift driver build --- server/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index d386cc5f..50a48f94 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -12,6 +12,7 @@ set(XRT_BUILD_DRIVER_PSSENSE OFF) set(XRT_BUILD_DRIVER_PSVR OFF) set(XRT_BUILD_DRIVER_QWERTY OFF) set(XRT_BUILD_DRIVER_REMOTE OFF) +set(XRT_BUILD_DRIVER_RIFT OFF) set(XRT_BUILD_DRIVER_RIFT_S OFF) set(XRT_BUILD_DRIVER_ROKID OFF) set(XRT_BUILD_DRIVER_SIMULATED OFF)