From 4cf4a7b848b45149c07dd69631ac7d65a49947b4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 27 Mar 2022 15:10:43 +0200 Subject: [PATCH] firefox: add pname to throw message https://github.com/NixOS/nixpkgs/pull/164646#discussion_r835879348 --- pkgs/applications/networking/browsers/firefox/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 8d445ac44eb2..63b2195d96b3 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -127,7 +127,7 @@ }: assert stdenv.cc.libc or null != null; -assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support."; +assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "${pname}: pipewireSupport requires both wayland and webrtc support."; let flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")];