dejsonlz4: fix build on darwin

wip/yesman
Ben Siraphob 3 years ago
parent 3bced99816
commit e3e7090459
  1. 4
      pkgs/tools/compression/dejsonlz4/default.nix

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildPhase = ''
gcc -Wall -o dejsonlz4 src/dejsonlz4.c src/lz4.c
${stdenv.cc.targetPrefix}cc -o dejsonlz4 src/dejsonlz4.c src/lz4.c
'';
installPhase = ''
@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/avih/dejsonlz4";
license = licenses.bsd2;
maintainers = with maintainers; [ mt-caret ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

Loading…
Cancel
Save