diff --git a/pkgs/development/compilers/cc65/default.nix b/pkgs/development/compilers/cc65/default.nix index 03325d2fd60..502cecfa8cf 100644 --- a/pkgs/development/compilers/cc65/default.nix +++ b/pkgs/development/compilers/cc65/default.nix @@ -1,8 +1,6 @@ -{ lib, stdenv -, fetchFromGitHub -}: +{ lib, gccStdenv, fetchFromGitHub }: -stdenv.mkDerivation rec { +gccStdenv.mkDerivation rec { pname = "cc65"; version = "2.19"; @@ -13,10 +11,7 @@ stdenv.mkDerivation rec { sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4"; }; - makeFlags = [ - "PREFIX=${placeholder "out"}" - "CC=${stdenv.cc.targetPrefix}cc" - ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with lib; { homepage = "https://cc65.github.io/"; @@ -56,6 +51,6 @@ stdenv.mkDerivation rec { ''; license = licenses.zlib; maintainers = with maintainers; [ AndersonTorres ]; - platforms = with platforms; unix; + platforms = platforms.unix; }; }