Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -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
|
||||
|
||||
Generated
+9
-9
@@ -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": {
|
||||
|
||||
@@ -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.
|
||||
@@ -50,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 = {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user