summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/cc65
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/compilers/cc65
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/compilers/cc65')
-rw-r--r--pkgs/development/compilers/cc65/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/cc65/default.nix b/pkgs/development/compilers/cc65/default.nix
index 6e201ac79339..03325d2fd606 100644
--- a/pkgs/development/compilers/cc65/default.nix
+++ b/pkgs/development/compilers/cc65/default.nix
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
};
- makeFlags = [ "PREFIX=${placeholder "out"}"];
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ "CC=${stdenv.cc.targetPrefix}cc"
+ ];
meta = with lib; {
homepage = "https://cc65.github.io/";