cleanup: statix

This commit is contained in:
2024-07-04 14:38:37 -06:00
parent 6055c9e63a
commit f177fde0ef
10 changed files with 49 additions and 65 deletions

View File

@@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
++ lib.optional enableFdk "-DENABLE_FDK=ON";
postPatch = let
branchCaptialized =
(lib.toUpper (lib.substring 0 1 branch) + lib.substring 1 (-1) branch);
branchCaptialized = lib.toUpper (lib.substring 0 1 branch)
+ lib.substring 1 (-1) branch;
in ''
# Fix file not found when looking in var/empty instead of opt
mkdir externals/dynarmic/src/dynarmic/ir/var