cross compilation: fix brightnessctl

This commit is contained in:
Colin 2023-08-25 12:13:39 +00:00
parent 05801f298f
commit 2aa4bdd5a6

View File

@ -369,6 +369,14 @@ in {
# bonsai = prev.bonsai.override {
# inherit (emulated) stdenv hare;
# };
brightnessctl = prev.brightnessctl.overrideAttrs (upstream: {
postPatch = (upstream.postPatch or "") + ''
substituteInPlace Makefile \
--replace 'pkg-config' "$PKG_CONFIG"
'';
});
# brltty = prev.brltty.override {
# # configure: error: no acceptable C compiler found in $PATH
# inherit (emulated) stdenv;