gnomeExtensions.brightness-control-using-ddcutil: Fix paths

Fixes #136111.

piegames 0ce4ae67 2c063fe2

+8
+8
pkgs/desktops/gnome/extensions/extensionPatches.nix
··· 11 11 # the upstream repository's sources. 12 12 super: super // { 13 13 14 + "display-brightness-ddcutil@themightydeity.github.com" = super."display-brightness-ddcutil@themightydeity.github.com".overrideAttrs (old: { 15 + # Has a hard-coded path to a run-time dependency 16 + # https://github.com/NixOS/nixpkgs/issues/136111 17 + postPatch = '' 18 + substituteInPlace "extension.js" --replace "/usr/bin/ddcutil" "${ddcutil}/bin/ddcutil" 19 + ''; 20 + }); 21 + 14 22 }