From eee1754df0224b5702a425d4bd18a0a21326ae36 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 27 Aug 2022 10:11:01 +0200 Subject: [PATCH] pulseaudio: fix evaluation with Nix 2.3 Path interpolation syntax has been introduced in Nix 2.4 and may not be used in nixpkgs which needs to be able to be evaluated with Nix 2.3. --- pkgs/servers/pulseaudio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix index ee2c0e0bd1c5..760a0a5511bd 100644 --- a/pkgs/servers/pulseaudio/default.nix +++ b/pkgs/servers/pulseaudio/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { # but use a conventional runtime sysconfdir outside the store ./add-option-for-installation-sysconfdir.patch # https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654 - (./0001-Make-gio-2.0-optional-${lib.versions.major version}.patch) + (./. + "/0001-Make-gio-2.0-optional-${lib.versions.major version}.patch") # TODO (not sent upstream) ./0002-Ignore-SCM_CREDS-on-darwin.patch ./0003-Ignore-HAVE_CPUID_H-on-aarch64-darwin.patch