diff options
author | bb2020 <bb2020@users.noreply.github.com> | 2021-03-22 14:37:31 +0300 |
---|---|---|
committer | bb2020 <bb2020@users.noreply.github.com> | 2021-03-22 14:40:50 +0300 |
commit | ebbf8bcbe22781814efa4288a7754a021f53663f (patch) | |
tree | 94bb796748c72638681ad85fb97652929c5411ed | |
parent | 9fcc211220ec14254c657e539e417287617f46ba (diff) |
gimx: update configs
-rw-r--r-- | pkgs/games/gimx/default.nix | 10 | ||||
-rw-r--r-- | pkgs/games/gimx/noff.patch (renamed from pkgs/games/gimx/ds4.patch) | 0 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/gimx/default.nix b/pkgs/games/gimx/default.nix index 727945ff2b465..ab208dfa003c6 100644 --- a/pkgs/games/gimx/default.nix +++ b/pkgs/games/gimx/default.nix @@ -5,8 +5,8 @@ let gimx-config = fetchFromGitHub { owner = "matlo"; repo = "GIMX-configurations"; - rev = "f31bba7d3be57519540be290cd69ba6a8dc4e4d4"; - sha256 = "0wpxx2qxyiiblz2qrl5swg00ls1aq7i5vzlk0qlnqdq8ss8jssax"; + rev = "c20300f24d32651d369e2b27614b62f4b856e4a0"; + sha256 = "02wcjk8da188x7y0jf3p0arjdh9zbb0lla3fxdb28b1xyybfvx5p"; }; in stdenv.mkDerivation rec { @@ -51,15 +51,15 @@ in stdenv.mkDerivation rec { mkdir -p $out/share cp -r ./loader/firmware $out/share/firmware cp -r ${gimx-config}/Linux $out/share/config - patch ${gimx-config}/Linux/Dualshock4.xml ${./ds4.patch} -o $out/share/DS4_noff.xml + patch ${gimx-config}/Linux/Dualshock4.xml ${./noff.patch} -o $out/share/ds4.xml makeWrapper $out/bin/gimx $out/bin/gimx-with-confs \ - --set GIMXCONF $out/share + --set GIMXCONF $out/share/config makeWrapper $out/bin/gimx $out/bin/gimx-test-ds4 \ --set GIMXCONF $out/share \ --add-flags "--nograb" --add-flags "--curses" \ - --add-flags "-p /dev/ttyUSB0" --add-flags "-c DS4_noff.xml" + --add-flags "-p /dev/ttyUSB0" --add-flags "-c ds4.xml" ''; meta = with lib; { diff --git a/pkgs/games/gimx/ds4.patch b/pkgs/games/gimx/noff.patch index 86b36adda2316..86b36adda2316 100644 --- a/pkgs/games/gimx/ds4.patch +++ b/pkgs/games/gimx/noff.patch |