Merge pull request #126071 from siraben/cc65-darwin

cc65: fix build on darwin
master
Anderson Torres 2021-06-07 17:29:07 -03:00 committed by GitHub
commit fcc1f7752e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -1,8 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
}:
{ lib, gccStdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
gccStdenv.mkDerivation rec {
pname = "cc65";
version = "2.19";
@ -13,10 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
};
makeFlags = [
"PREFIX=${placeholder "out"}"
"CC=${stdenv.cc.targetPrefix}cc"
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://cc65.github.io/";
@ -56,6 +53,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.zlib;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
platforms = platforms.unix;
};
}