cc65: fix darwin build
parent
c177b49d39
commit
1e1e19b6c7
|
@ -1,8 +1,6 @@
|
||||||
{ lib, stdenv
|
{ lib, gccStdenv, fetchFromGitHub }:
|
||||||
, fetchFromGitHub
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
gccStdenv.mkDerivation rec {
|
||||||
pname = "cc65";
|
pname = "cc65";
|
||||||
version = "2.19";
|
version = "2.19";
|
||||||
|
|
||||||
|
@ -13,10 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
|
sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
"PREFIX=${placeholder "out"}"
|
|
||||||
"CC=${stdenv.cc.targetPrefix}cc"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://cc65.github.io/";
|
homepage = "https://cc65.github.io/";
|
||||||
|
@ -56,6 +51,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = with platforms; unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue