summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/cctools
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-04-24 16:00:11 -0400
committerJohn Ericson <Ericson2314@Yahoo.com>2017-05-17 15:33:05 -0400
commit7018dfb9f4d1457d77495014a2e22febe2b9181a (patch)
tree9bb1dce6a6ab888bbb7a2437ce50e650a6a69216 /pkgs/os-specific/darwin/cctools
parent88ea6463a342c2084266395b210d57b1218bad62 (diff)
downloadnixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar.gz
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar.bz2
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar.lz
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar.xz
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.tar.zst
nixpkgs-7018dfb9f4d1457d77495014a2e22febe2b9181a.zip
binutils and cctools: Prefix derivation names with target for cross
We want platform triple prefixes and suffixes on derivation names to
be used consistently. The ideom this commit strives for is

 - suffix means build != host, i.e. cross *built* packages. This is
   already done.

 - prefix means build != target, i.e. cross tools. This matches the
   tradition of such binaries themselves being prefixed to disambiguate.]
   Binutils and cctools, as build tools, now use the latter
Diffstat (limited to 'pkgs/os-specific/darwin/cctools')
-rw-r--r--pkgs/os-specific/darwin/cctools/port.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/cctools/port.nix b/pkgs/os-specific/darwin/cctools/port.nix
index 204a4789bcc..14c4c6e9973 100644
--- a/pkgs/os-specific/darwin/cctools/port.nix
+++ b/pkgs/os-specific/darwin/cctools/port.nix
@@ -19,7 +19,7 @@ assert (!isDarwin hostPlatform.parsed) -> (maloader != null && xctoolchain != nu
 
 let
   baseParams = rec {
-    name = "cctools-port-${version}";
+    name = "${prefix}cctools-port-${version}";
     version = "895";
 
     src = fetchFromGitHub {