Skip to content

Carla: compatibility issues with NSM (because of double wrapping?) #117781

@tobiasBora

Description

@tobiasBora

Describe the bug
NSM (New-Session-Manager and Non-Session-Manager) is useful to save the state of multiple MAO programs to allow users to quickly configure multiple programs at once. Carla is supposed to be usable with NSM, but in NixOs this fails.

I suspect the double-wrapping of Carla to be an issue. Notably, the second wrapper has a line:

exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"

and --with-appname is therefore set to .carla-wrapped which is not the name of a valid executable... I suspect that is perturbs NSM since NSM actually tries to start .carla-wrapped instead of carla.

To Reproduce

See jackaudio/new-session-manager#73

Notify maintainers

@minijackson

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.4.93, NixOS, 21.03pre-git (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20201205_a5d85d0
  • channels(root): "nixos-unstable-21.03pre267299.5ff6700bb82, nixos-21.03pre267299.5ff6700bb82"
  • channels(me): "local-nixos-unstable-21.05pre274338.102eb68ceec, home-manager, local-nixpkgs-unstable-21.03pre267409.f5daa8ab31f, nixos-20-03-20.03.3324.929768261a3, test, nixos-unstable-21.03pre250162.34ad166a830"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

(I installed new-session-manager (also tested with non) from local-nixos-unstable)

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions