lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

gitstatus: unvendor zlib

vendored zlib causes clang build to fail

+12 -5
+12 -4
pkgs/by-name/gi/gitstatus/package.nix
··· 5 5 fetchFromGitHub, 6 6 git, 7 7 zsh, 8 + zlib, 8 9 runtimeShell, 9 10 }: 10 11 stdenv.mkDerivation rec { ··· 18 19 sha256 = "sha256-b+9bwJ87VV6rbOPobkwMkDXGH34STjYPlt8wCRR5tEc="; 19 20 }; 20 21 21 - env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { 22 - NIX_LDFLAGS = "-liconv"; 23 - }; 22 + env.NIX_LDFLAGS = toString ( 23 + [ 24 + # required by libgit2.a 25 + "-lz" 26 + ] 27 + ++ lib.optional stdenv.hostPlatform.isDarwin "-liconv" 28 + ); 24 29 25 - buildInputs = [ (callPackage ./romkatv_libgit2.nix { }) ]; 30 + buildInputs = [ 31 + zlib 32 + (callPackage ./romkatv_libgit2.nix { }) 33 + ]; 26 34 27 35 postPatch = '' 28 36 sed -i '1i GITSTATUS_AUTO_INSTALL=''${GITSTATUS_AUTO_INSTALL-0}' gitstatus.plugin.sh
-1
pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix
··· 5 5 "-DBUILD_CLAR=OFF" 6 6 "-DBUILD_SHARED_LIBS=OFF" 7 7 "-DREGEX_BACKEND=builtin" 8 - "-DUSE_BUNDLED_ZLIB=ON" 9 8 "-DUSE_GSSAPI=OFF" 10 9 "-DUSE_HTTPS=OFF" 11 10 "-DUSE_HTTP_PARSER=builtin" # overwritten from libgit2