Commit 0af42029 authored by Nikolas Garofil's avatar Nikolas Garofil Committed by Nikolas Garofil
Browse files

byobu: Fixes issue 131353 (automatic launch-failure)

parent 0d2a39bf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 \