nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

snappy: fix x86_64-darwin build

See https://github.com/NixOS/nixpkgs/pull/221215#issuecomment-1482564003.

authored by

Samuel Ainsworth and committed by
Vladimír Čunát
2a21328f cd585031

+3 -2
+3 -2
pkgs/development/libraries/snappy/default.nix
··· 29 29 30 30 nativeBuildInputs = [ cmake ]; 31 31 32 - # See https://github.com/NixOS/nixpkgs/pull/219778#issuecomment-1464884412. 33 - env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isAarch64 && stdenv.isDarwin) "-Wno-sign-compare"; 32 + # See https://github.com/NixOS/nixpkgs/pull/219778#issuecomment-1464884412 33 + # and https://github.com/NixOS/nixpkgs/pull/221215#issuecomment-1482564003. 34 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-sign-compare"; 34 35 35 36 cmakeFlags = [ 36 37 "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}"