diff options
author | piegames <git@piegames.de> | 2021-09-08 22:52:32 +0200 |
---|---|---|
committer | piegames <git@piegames.de> | 2021-09-08 22:54:31 +0200 |
commit | 0ce4ae676a817d028af86931ccd4a23f4e9fb4eb (patch) | |
tree | 9e86c3f437f1502291f78529f63e005a2f777783 /pkgs/desktops/gnome | |
parent | 2c063fe250e019a44eba31e4f7857d0e35065b5b (diff) | |
download | nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar.gz nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar.bz2 nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar.lz nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar.xz nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.tar.zst nixpkgs-0ce4ae676a817d028af86931ccd4a23f4e9fb4eb.zip |
gnomeExtensions.brightness-control-using-ddcutil: Fix paths
Fixes #136111.
Diffstat (limited to 'pkgs/desktops/gnome')
-rw-r--r-- | pkgs/desktops/gnome/extensions/extensionPatches.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/extensions/extensionPatches.nix b/pkgs/desktops/gnome/extensions/extensionPatches.nix index 21c75ebf196..2188e06d433 100644 --- a/pkgs/desktops/gnome/extensions/extensionPatches.nix +++ b/pkgs/desktops/gnome/extensions/extensionPatches.nix @@ -11,4 +11,12 @@ # the upstream repository's sources. super: super // { + "display-brightness-ddcutil@themightydeity.github.com" = super."display-brightness-ddcutil@themightydeity.github.com".overrideAttrs (old: { + # Has a hard-coded path to a run-time dependency + # https://github.com/NixOS/nixpkgs/issues/136111 + postPatch = '' + substituteInPlace "extension.js" --replace "/usr/bin/ddcutil" "${ddcutil}/bin/ddcutil" + ''; + }); + } |