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
19
20
20
hardeningDisable = [ "format" ];
21
21
22
22
-
nativeBuildInputs = [ pkg-config ];
22
22
+
strictDeps = true;
23
23
+
depsBuildBuild = [
24
24
+
pkg-config
25
25
+
];
26
26
+
nativeBuildInputs = [
27
27
+
pkg-config
28
28
+
asciidoc
29
29
+
docbook_xsl
30
30
+
libxslt
31
31
+
makeWrapper
32
32
+
libconfig
33
33
+
pango
34
34
+
];
23
35
buildInputs = [
24
24
-
cairo gdk-pixbuf libconfig pango xcbutilwm docbook_xsl
25
25
-
alsa-lib wirelesstools asciidoc libxslt makeWrapper
36
36
+
cairo
37
37
+
gdk-pixbuf
38
38
+
libconfig
39
39
+
pango
40
40
+
xcbutilwm
41
41
+
alsa-lib
42
42
+
wirelesstools
26
43
];
27
44
28
45
postPatch = ''
29
46
substituteInPlace ./Makefile \
30
47
--replace "\$(shell git describe)" "${version}" \
31
31
-
--replace "a2x" "${asciidoc}/bin/a2x --no-xmllint"
48
48
+
--replace "a2x" "a2x --no-xmllint"
32
49
'';
33
50
34
51
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];