summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2025-05-02 18:20:17 +0200
committeradisbladis <adisbladis@gmail.com>2025-05-02 19:01:17 +0200
commit9338d924dbe0c6b93daec3bf435322812fd176fe (patch)
treee594e1669038ca957dfb90266c479301f78aa1b8 /pkgs/development/python-modules/python-openstackclient
parent4ad8dfd97d88b7f305b770e0ae3b4ce52b630c1b (diff)
lib.meta.availableOn: Return false if pkg parameter is null
To fix overriding packages that checks for platform compatibility, like pipewire. `pipewire` contains the following logic to enable support for ldac depending on library platform compatibility: ```nix ldacbtSupport = lib.meta.availableOn stdenv.hostPlatform ldacbt ``` Which is used later in the expression to create a Meson flag: ```nix (lib.mesonEnable "bluez5-codec-ldac" (bluezSupport && ldacbtSupport)) ``` This means that attempting to build `pipewire` without `ldacbt` like: ```nix pipewire.override { ldacbt = null; } ``` will fail because the the Meson flag indicates the feature should be enabled, but the library is passed to `buildInputs` as `null`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions