tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libow: fix darwin build
Stéphan Kochen
4 years ago
d051dab8
489cfcf8
+22
-21
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libow
default.nix
+22
-21
pkgs/development/libraries/libow/default.nix
···
11
11
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
12
12
};
13
13
14
14
-
nativeBuildInputs = [ autoconf automake pkg-config ];
14
14
+
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
15
15
+
16
16
+
preConfigure = ''
17
17
+
# Tries to use glibtoolize on Darwin, but it shouldn't for Nix.
18
18
+
sed -i -e 's/glibtoolize/libtoolize/g' bootstrap
19
19
+
./bootstrap
20
20
+
'';
21
21
+
22
22
+
configureFlags = [
23
23
+
"--disable-owtcl"
24
24
+
"--disable-owphp"
25
25
+
"--disable-owpython"
26
26
+
"--disable-zero"
27
27
+
"--disable-owshell"
28
28
+
"--disable-owhttpd"
29
29
+
"--disable-owftpd"
30
30
+
"--disable-owserver"
31
31
+
"--disable-owperl"
32
32
+
"--disable-owtap"
33
33
+
"--disable-owmon"
34
34
+
"--disable-owexternal"
35
35
+
];
15
36
16
37
meta = with lib; {
17
38
description = "1-Wire File System full library";
···
20
41
maintainers = with maintainers; [ disserman ];
21
42
platforms = platforms.unix;
22
43
};
23
23
-
24
24
-
buildInputs = [ libtool ];
25
25
-
26
26
-
preConfigure = "./bootstrap";
27
27
-
28
28
-
configureFlags = [
29
29
-
"--disable-owtcl"
30
30
-
"--disable-owphp"
31
31
-
"--disable-owpython"
32
32
-
"--disable-zero"
33
33
-
"--disable-owshell"
34
34
-
"--disable-owhttpd"
35
35
-
"--disable-owftpd"
36
36
-
"--disable-owserver"
37
37
-
"--disable-owperl"
38
38
-
"--disable-owtcl"
39
39
-
"--disable-owtap"
40
40
-
"--disable-owmon"
41
41
-
"--disable-owexternal"
42
42
-
];
43
44
}