Unverified Commit 48171e5f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents 555292d2 0af42029
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 \