fix wivrn build
This commit is contained in:
8
etcnixos/flake.lock
generated
8
etcnixos/flake.lock
generated
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user