uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
23
pkgs/applications/emulators/ryujinx/appdir.patch
Normal file
23
pkgs/applications/emulators/ryujinx/appdir.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
diff --git a/Ryujinx.Common/ReleaseInformations.cs b/Ryujinx.Common/ReleaseInformations.cs
|
||||
index 35890406..cca77163 100644
|
||||
--- a/Ryujinx.Common/ReleaseInformations.cs
|
||||
+++ b/Ryujinx.Common/ReleaseInformations.cs
|
||||
@@ -42,12 +42,14 @@ namespace Ryujinx.Common
|
||||
|
||||
public static string GetBaseApplicationDirectory()
|
||||
{
|
||||
- if (IsFlatHubBuild())
|
||||
- {
|
||||
+ //if (IsFlatHubBuild())
|
||||
+ //{
|
||||
+ // This needs to be a mutable path, while CurrentDomain.BaseDirectory refers to the nix store.
|
||||
+ // AppDataManager.BaseDirPath refers to ".config/Ryujinx" on Linux.
|
||||
return AppDataManager.BaseDirPath;
|
||||
- }
|
||||
+ //}
|
||||
|
||||
- return AppDomain.CurrentDomain.BaseDirectory;
|
||||
+ //return AppDomain.CurrentDomain.BaseDirectory;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue