byobu: Fixes issue 131353 (automatic launch-failure)

This commit is contained in:
Nikolas Garofil
2026-02-03 01:10:16 +01:00
committed by Nikolas Garofil
parent 0d2a39bf3c
commit 0af420290b
+7
View File
@@ -69,6 +69,13 @@ stdenv.mkDerivation (finalAttrs: {
# scripts points to the filename and byobu matches against this to know
# which backend to start with
bname="$(basename $file)"
# Don't wrap byobu-launch to fix failing automatic byobu launches
# See: https://github.com/NixOS/nixpkgs/issues/131353
if [ $bname == "byobu-launch" ]; then
continue
fi
mv "$file" "$out/bin/.$bname"
makeWrapper "$out/bin/.$bname" "$out/bin/$bname" \
--argv0 $bname \