balatro: fix '$src/[Aa]ssets' un-nestling

Looks like this block was dropped while I was rebasing changes on the
PR.
This commit is contained in:
Bruno BELANYI
2026-02-12 14:29:38 +00:00
parent 5122924f49
commit 80e48825ae
+8
View File
@@ -100,6 +100,14 @@ stdenv.mkDerivation (finalAttrs: {
tmpdir=$(mktemp -d)
7z x ${finalAttrs.src} -o$tmpdir -y
if [ -d "$tmpdir/assets" ]; then
mv "$tmpdir/assets/"* "$tmpdir/"
rmdir "$tmpdir/assets"
elif [ -d "$tmpdir/Assets" ]; then
mv "$tmpdir/Assets/"* "$tmpdir/"
rmdir "$tmpdir/Assets"
fi
${lib.optionalString withBridgePatch ''
cp ${./bridge_detour.lua} $tmpdir/bridge_detour.lua