mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
gnomeExtensions.brightness-control-using-ddcutil: Fix paths
Fixes #136111.
This commit is contained in:
parent
2c063fe250
commit
0ce4ae676a
|
@ -11,4 +11,12 @@
|
||||||
# the upstream repository's sources.
|
# the upstream repository's sources.
|
||||||
super: super // {
|
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"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue