Merge pull request #91532 from shajra/fix/ansifilter
ansifilter: extend build to include Darwin
This commit is contained in:
commit
730f86b722
1 changed files with 5 additions and 1 deletions
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ boost lua ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/makefile --replace "CC=g++" "CC=c++"
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"conf_dir=/etc/ansifilter"
|
||||
|
@ -26,6 +30,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.Adjective-Object ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue