lol

Merge pull request #192165 from delroth/openalsoft-closure

openalSoft: remove leaked reference to pipewire.dev output

authored by

Sergei Trofimovich and committed by
GitHub
06792aa9 6aeaeb83

+6 -2
+6 -2
pkgs/development/libraries/openal-soft/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config 2 , alsaSupport ? !stdenv.isDarwin, alsa-lib 3 , dbusSupport ? !stdenv.isDarwin, dbus 4 , pipewireSupport ? !stdenv.isDarwin, pipewire ··· 29 30 strictDeps = true; 31 32 - nativeBuildInputs = [ cmake pkg-config ]; 33 34 buildInputs = lib.optional alsaSupport alsa-lib 35 ++ lib.optional dbusSupport dbus ··· 45 # https://github.com/NixOS/nixpkgs/issues/183774 46 "-DOSS_INCLUDE_DIR=${stdenv.cc.libc}/include" 47 ]; 48 49 meta = with lib; { 50 description = "OpenAL alternative";
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, removeReferencesTo 2 , alsaSupport ? !stdenv.isDarwin, alsa-lib 3 , dbusSupport ? !stdenv.isDarwin, dbus 4 , pipewireSupport ? !stdenv.isDarwin, pipewire ··· 29 30 strictDeps = true; 31 32 + nativeBuildInputs = [ cmake pkg-config removeReferencesTo ]; 33 34 buildInputs = lib.optional alsaSupport alsa-lib 35 ++ lib.optional dbusSupport dbus ··· 45 # https://github.com/NixOS/nixpkgs/issues/183774 46 "-DOSS_INCLUDE_DIR=${stdenv.cc.libc}/include" 47 ]; 48 + 49 + postInstall = lib.optional pipewireSupport '' 50 + remove-references-to -t ${pipewire.dev} $(readlink -f $out/lib/*.so) 51 + ''; 52 53 meta = with lib; { 54 description = "OpenAL alternative";