tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wmname: fix cross-compilation
Nikolay Korotkiy
4 years ago
72dbc900
d2972cac
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
wmname
default.nix
+7
-1
pkgs/applications/misc/wmname/default.nix
···
9
sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
10
};
11
0
0
0
0
12
buildInputs = [ libX11 ];
13
14
-
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
0
0
15
16
meta = {
17
description = "Prints or set the window manager name property of the root window";
···
9
sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
10
};
11
12
+
postPatch = ''
13
+
substituteInPlace Makefile --replace "@strip" "#@strip"
14
+
'';
15
+
16
buildInputs = [ libX11 ];
17
18
+
makeFlags = [ "CC:=$(CC)" ];
19
+
20
+
installFlags = [ "PREFIX=$(out)" ];
21
22
meta = {
23
description = "Prints or set the window manager name property of the root window";