dejsonlz4: fix build on darwin

This commit is contained in:
Ben Siraphob 2021-03-17 16:53:05 +07:00
parent 3bced99816
commit e3e7090459

View File

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