byobu: Fixes issue #131353 (automatic launch-failure) (#473879)

This commit is contained in:
Sandro
2026-02-03 15:19:12 +00:00
committed by GitHub
+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 \