fix wivrn build

This commit is contained in:
Simon Gardling 2024-10-20 16:35:33 -04:00
parent 1ba1355745
commit 95514bf7dd
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
5 changed files with 20 additions and 10 deletions

8
etcnixos/flake.lock generated
View File

@ -392,16 +392,16 @@
},
"wivrn": {
"locked": {
"lastModified": 1729405003,
"narHash": "sha256-V9ZdbZ2iFVsN2AF/aJmSiRDp9rU5HYeQX+1NBYcKJzQ=",
"lastModified": 1729447101,
"narHash": "sha256-+amYWj/GpgYyYU1R2TTojPAXMNbCr93DVgVGcdIXgaQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "414c84c95aab19cb7dc603f0139d6dea2bc9f053",
"rev": "1c41a27405aa44b94ba10c2002c20209e4911ff5",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "pull/349910/head",
"ref": "pull/350069/head",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -12,7 +12,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
wivrn.url = "github:NixOS/nixpkgs/pull/349910/head";
wivrn.url = "github:NixOS/nixpkgs/pull/350069/head";
chaotic = {
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";

View File

@ -5,7 +5,17 @@
openFirewall = true;
# Use my fork for WiVRn 0.20
package = inputs.wivrn.legacyPackages.${pkgs.system}.wivrn;
package = (
inputs.wivrn.legacyPackages.${pkgs.system}.wivrn.overrideAttrs (old: {
patches = [
(pkgs.fetchurl {
url = "https://github.com/WiVRn/WiVRn/commit/be95ec84b56794ca8d97bb8b21dec6443ba57bc4.diff";
sha256 = "1tNQ57XIki0bomNG5xg+/4YbgKanrM5LOQvvCmZQFhw=";
})
];
})
);
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
# will automatically read this and work with wivrn

View File

@ -146,11 +146,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1729441716,
"narHash": "sha256-Fxgt9QFm2bxDoZgUiDlyJZo+554IQio3Lm8bjlQ8Hn4=",
"lastModified": 1729443752,
"narHash": "sha256-QKt5nqzfFoGp2jQyMvZwMp7zPXppZM517DzMCk44gbA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "35f9ccf13b3e213b7d19984023aa75e283b3bced",
"rev": "930dee9882d3a3e89b9cdc76cb9c2ab3fb4b52fa",
"type": "github"
},
"original": {

View File

@ -92,7 +92,7 @@
inputs.zen-browser.legacyPackages.${pkgs.system}.zen-browser
freecad-wayland
# freecad-wayland
];
# make chromium-based stuff use wayland