pulseaudio: replace name with pname&version
This commit is contained in:
parent
af02609a90
commit
da10de797c
|
@ -30,7 +30,7 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${if libOnly then "lib" else ""}pulseaudio-${version}";
|
||||
pname = "${if libOnly then "lib" else ""}pulseaudio";
|
||||
version = "14.2";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -119,7 +119,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preFixup = lib.optionalString (stdenv.isLinux && (stdenv.hostPlatform == stdenv.buildPlatform)) ''
|
||||
wrapProgram $out/libexec/pulse/gsettings-helper \
|
||||
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
|
||||
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${pname}-${version}" \
|
||||
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue