From fb6541d1bd950567ac9adc5156727be3a213f5fb Mon Sep 17 00:00:00 2001 From: Ivan Kovalev Date: Sun, 2 Feb 2025 20:14:16 +0100 Subject: [PATCH] Remove unnecessary README for nix. Move major comment to shell.nix --- documents/build-nixos/README.md | 14 -------------- documents/build-nixos/shell.nix => shell.nix | 2 ++ 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 documents/build-nixos/README.md rename documents/build-nixos/shell.nix => shell.nix (95%) diff --git a/documents/build-nixos/README.md b/documents/build-nixos/README.md deleted file mode 100644 index 411821180..000000000 --- a/documents/build-nixos/README.md +++ /dev/null @@ -1,14 +0,0 @@ - - -## Why do we need custom packages? - -Because vulkan packages in official nix repo are still using version 1.3.296.0 while 1.4.305 or 1.4.304.0 is required for this package - we have to use a custom nix-shell to build shadPS4. - -You can also use stagging branch, but in that case all packages would have to be rebuild and that takes hours, to mitigate this issue we're only using custom vulkan packages which don't have too many dependencies. - -## When will we be able to use packages from official repo? - -Once https://github.com/NixOS/nixpkgs/pull/373969 will reach unstable branch we should be able to use packages from nixpkgs repo. diff --git a/documents/build-nixos/shell.nix b/shell.nix similarity index 95% rename from documents/build-nixos/shell.nix rename to shell.nix index ac22d4ce1..b58773059 100644 --- a/documents/build-nixos/shell.nix +++ b/shell.nix @@ -1,3 +1,5 @@ +### Vulkan packages in official nix repo are still using version 1.3.296.0 while 1.4.305 or 1.4.304.0 is required for this package, so we have to use a custom vulkan packages to build shadPS4. + with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/606996d74f6e2a12635d41c1bf58bfc7ea3bb5ec.tar.gz") { }; let