Skip to content

Commit

Permalink
Merge pull request #14776 from avnik/fixes
Browse files Browse the repository at this point in the history
wine && mumble -- Fixes for post multiple-output issues
  • Loading branch information
abbradar committed Apr 17, 2016
2 parents 6e802a5 + 9751cd4 commit ce47fb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkgs/applications/networking/mumble/default.nix
Expand Up @@ -40,7 +40,9 @@ let
++ (overrides.configureFlags or [ ]);

configurePhase = ''
runHook preConfigure
qmake $configureFlags DEFINES+="PLUGIN_PATH=$out/lib"
runHook postConfigure
'';

makeFlags = [ "release" ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/misc/emulators/wine/base.nix
Expand Up @@ -32,7 +32,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
# them to the RPATH so that the user doesn't have to set them in
# LD_LIBRARY_PATH.
NIX_LDFLAGS = map (path: "-rpath " + path) (
map (x: "${x}/lib") ([ stdenv.cc.cc ] ++ buildInputs)
map (x: "${x}/lib") ([ stdenv.cc.cc ] ++ (map (x: x.lib or x.out) buildInputs))
# libpulsecommon.so is linked but not found otherwise
++ lib.optionals pulseaudioSupport (map (x: "${x}/lib/pulseaudio") (toBuildInputs pkgArches (pkgs: [ pkgs.libpulseaudio ])))
);
Expand Down

0 comments on commit ce47fb3

Please sign in to comment.