Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sway unset LD_LIBRARY_PATH if this var is not exposed at build-time #32755

Closed
ghost opened this issue Dec 17, 2017 · 2 comments
Closed

sway unset LD_LIBRARY_PATH if this var is not exposed at build-time #32755

ghost opened this issue Dec 17, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 17, 2017

Issue description

https://github.com/swaywm/sway/blob/master/CMakeLists.txt#L58:L60
https://github.com/swaywm/sway/blob/master/sway/main.c#L328:L332

Because of this i.e. alacritty does not work under sway.

Steps to reproduce

~ printenv LD_LIBRARY_PATH # before sway
/run/opengl-driver/lib
~ sway
~ if [ -z ${LD_LIBRARY_PATH} ]; then echo "var is unset"; fi # under sway
var is unset

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.11.0, NixOS, 18.03pre122666.afe9649210c (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 1.11.16
  • channels(root): "nixos-18.03pre122666.afe9649210c"
  • channels(ne-sted): "nixos-18.03pre122691.ea15e436939"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@ghost
Copy link
Author

ghost commented Dec 17, 2017

@gnidorah could you please take a look (as a wayland expert 😄 :)?

@ghost
Copy link

ghost commented Dec 17, 2017

zimbatm pushed a commit that referenced this issue Dec 21, 2017
* bemenu: init at 2017-02-14

* velox: 2015-11-03 -> 2017-07-04

* orbment, velox: don't expose subprojects

the development of orbment and velox got stuck
their subprojects (bemenu, dmenu-wayland, st-wayland) don't work correctly outside of parent projects
so hide them to not confuse people
swc and wld libraries are unpopular and unlike wlc are not used by anything except velox

* pythonPackages.pydbus: init at 0.6.0

* way-cooler: 0.5.2 -> 0.6.2

* nixos/way-cooler: add module

* dconf module: use for wayland

non-invasive approach for #31293
see discussion at #32210

* sway: embed LD_LIBRARY_PATH for #32755

* way-cooler: switch from buildRustPackage to buildRustCrate #31150
@ghost ghost closed this as completed Dec 22, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants