dadadodo: fix darwin build

This commit is contained in:
Ben Siraphob 2021-03-04 14:14:02 +07:00
parent a3bea2debd
commit 23b9febef2

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if"; sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
}; };
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp dadadodo $out/bin cp dadadodo $out/bin
@ -20,6 +22,6 @@ stdenv.mkDerivation rec {
description = "Markov chain-based text generator"; description = "Markov chain-based text generator";
homepage = "http://www.jwz.org/dadadodo"; homepage = "http://www.jwz.org/dadadodo";
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux; platforms = platforms.all;
}; };
} }