Merge pull request #123389 from stephank/fix-libow-darwin

libow: fix darwin build

authored by Robert Scott and committed by GitHub ce56badf ed7822b0

+22 -21
+22 -21
pkgs/development/libraries/libow/default.nix
··· 11 11 sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s"; 12 12 }; 13 13 14 - nativeBuildInputs = [ autoconf automake pkg-config ]; 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 + ]; 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 - 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 44 }