tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
brightnessctl: support cross compilation
Colin
2 years ago
c7dce3df
5690c427
+5
1 changed file
expand all
collapse all
unified
split
pkgs
misc
brightnessctl
default.nix
+5
pkgs/misc/brightnessctl/default.nix
···
11
11
sha256 = "0immxc7almmpg80n3bdn834p3nrrz7bspl2syhb04s3lawa5y2lq";
12
12
};
13
13
14
14
+
postPatch = ''
15
15
+
substituteInPlace Makefile \
16
16
+
--replace "pkg-config" "$PKG_CONFIG"
17
17
+
'';
18
18
+
14
19
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" "ENABLE_SYSTEMD=1" ];
15
20
16
21
nativeBuildInputs = [ pkg-config ];