ajout d'options de compilation par make

This commit is contained in:
2017-01-24 14:55:05 +01:00
parent ec23847499
commit b743a83164

View File

@@ -9,9 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "1izkzy952rjzlk3d9ndp3bklxc45gkwvpw0376x39flq1km0kyak";
};
# OUT shouldn't be needed (and shouldn't have worked), but random
# developers have forgotten to use PREFIX everywhere,
makeFlags = ''
OUT=$(out)
'';
buildInputs = [ gcc ];
buildPhase = "make build";
installPhase = "make install OUT=\$out";
installPhase = "make install";
meta = with stdenv.lib; {
description = "Program thas exit with 0 or 1 randomly";