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
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
12
};
13
14
-
nativeBuildInputs = [ autoconf automake pkg-config ];
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
16
meta = with lib; {
17
description = "1-Wire File System full library";
···
20
maintainers = with maintainers; [ disserman ];
21
platforms = platforms.unix;
22
};
23
-
24
-
buildInputs = [ libtool ];
25
-
26
-
preConfigure = "./bootstrap";
27
-
28
-
configureFlags = [
29
-
"--disable-owtcl"
30
-
"--disable-owphp"
31
-
"--disable-owpython"
32
-
"--disable-zero"
33
-
"--disable-owshell"
34
-
"--disable-owhttpd"
35
-
"--disable-owftpd"
36
-
"--disable-owserver"
37
-
"--disable-owperl"
38
-
"--disable-owtcl"
39
-
"--disable-owtap"
40
-
"--disable-owmon"
41
-
"--disable-owexternal"
42
-
];
43
}
···
11
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
12
};
13
14
+
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
15
+
16
+
preConfigure = ''
17
+
# Tries to use glibtoolize on Darwin, but it shouldn't for Nix.
18
+
sed -i -e 's/glibtoolize/libtoolize/g' bootstrap
19
+
./bootstrap
20
+
'';
21
+
22
+
configureFlags = [
23
+
"--disable-owtcl"
24
+
"--disable-owphp"
25
+
"--disable-owpython"
26
+
"--disable-zero"
27
+
"--disable-owshell"
28
+
"--disable-owhttpd"
29
+
"--disable-owftpd"
30
+
"--disable-owserver"
31
+
"--disable-owperl"
32
+
"--disable-owtap"
33
+
"--disable-owmon"
34
+
"--disable-owexternal"
35
+
];
36
37
meta = with lib; {
38
description = "1-Wire File System full library";
···
41
maintainers = with maintainers; [ disserman ];
42
platforms = platforms.unix;
43
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
44
}