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