diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-27 15:10:43 +0200 |
---|---|---|
committer | Yuka <yuka@yuka.dev> | 2022-03-28 21:42:49 +0200 |
commit | 4cf4a7b848b45149c07dd69631ac7d65a49947b4 (patch) | |
tree | a1d319047ebe2a178a47670851e886a1d7846625 /pkgs | |
parent | 05a6b3c2b7ef059a1dccb34c8ebc06ffbb4f2d1f (diff) | |
download | nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar.gz nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar.bz2 nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar.lz nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar.xz nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.tar.zst nixlib-4cf4a7b848b45149c07dd69631ac7d65a49947b4.zip |
firefox: add pname to throw message
https://github.com/NixOS/nixpkgs/pull/164646#discussion_r835879348
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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}")]; |