tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
yabar: support cross-compilation, format
Rick van Schijndel
4 years ago
8deddc21
93d9e503
+21
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
window-managers
yabar
build.nix
+21
-4
pkgs/applications/window-managers/yabar/build.nix
···
19
20
hardeningDisable = [ "format" ];
21
22
-
nativeBuildInputs = [ pkg-config ];
0
0
0
0
0
0
0
0
0
0
0
0
23
buildInputs = [
24
-
cairo gdk-pixbuf libconfig pango xcbutilwm docbook_xsl
25
-
alsa-lib wirelesstools asciidoc libxslt makeWrapper
0
0
0
0
0
26
];
27
28
postPatch = ''
29
substituteInPlace ./Makefile \
30
--replace "\$(shell git describe)" "${version}" \
31
-
--replace "a2x" "${asciidoc}/bin/a2x --no-xmllint"
32
'';
33
34
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];
···
19
20
hardeningDisable = [ "format" ];
21
22
+
strictDeps = true;
23
+
depsBuildBuild = [
24
+
pkg-config
25
+
];
26
+
nativeBuildInputs = [
27
+
pkg-config
28
+
asciidoc
29
+
docbook_xsl
30
+
libxslt
31
+
makeWrapper
32
+
libconfig
33
+
pango
34
+
];
35
buildInputs = [
36
+
cairo
37
+
gdk-pixbuf
38
+
libconfig
39
+
pango
40
+
xcbutilwm
41
+
alsa-lib
42
+
wirelesstools
43
];
44
45
postPatch = ''
46
substituteInPlace ./Makefile \
47
--replace "\$(shell git describe)" "${version}" \
48
+
--replace "a2x" "a2x --no-xmllint"
49
'';
50
51
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];