summary refs log tree commit diff
path: root/pkgs/development/compilers/rust
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2014-07-31 00:12:16 +0200
committerJohn Ericson <Ericson2314@Yahoo.com>2014-07-31 00:12:16 +0200
commita510e024b6d3540ba4d8764631a642a94b52ee54 (patch)
treecbddcc064a42ccf432053fd4202a10f73a6a3a60 /pkgs/development/compilers/rust
parent399f8b48f9935e18539cd3309c4eab3920ae22fa (diff)
downloadnixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar.gz
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar.bz2
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar.lz
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar.xz
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.tar.zst
nixpkgs-a510e024b6d3540ba4d8764631a642a94b52ee54.zip
rust: Add hashes for i686-darwin
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r--pkgs/development/compilers/rust/0.11.nix2
-rw-r--r--pkgs/development/compilers/rust/common.nix4
2 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/0.11.nix b/pkgs/development/compilers/rust/0.11.nix
index c2696bae922..1c3b09b0985 100644
--- a/pkgs/development/compilers/rust/0.11.nix
+++ b/pkgs/development/compilers/rust/0.11.nix
@@ -20,6 +20,8 @@ let snapshot = if stdenv.system == "i686-linux"
       then "84339ea0f796ae468ef86797ef4587274bec19ea"
       else if stdenv.system == "x86_64-linux"
       then "bd8a6bc1f28845b7f4b768f6bfa06e7fbdcfcaae"
+      else if stdenv.system == "i686-darwin"
+      then "3f25b2680efbab16ad074477a19d49dcce475977"
       else if stdenv.system == "x86_64-darwin"
       then "4a8c2e1b7634d73406bac32a1a97893ec3ed818d"
       else abort "no-snapshot for platform ${stdenv.system}";
diff --git a/pkgs/development/compilers/rust/common.nix b/pkgs/development/compilers/rust/common.nix
index 4ba6f159b4c..b190b937dda 100644
--- a/pkgs/development/compilers/rust/common.nix
+++ b/pkgs/development/compilers/rust/common.nix
@@ -7,6 +7,8 @@
     then "linux-i386"
     else if stdenv.system == "x86_64-linux"
     then "linux-x86_64"
+    else if stdenv.system == "i686-darwin"
+    then "macos-i386"
     else if stdenv.system == "x86_64-darwin"
     then "macos-x86_64"
     else abort "no snapshot to boostrap for this platform (missing platform url suffix)";
@@ -15,6 +17,8 @@
     then "i686-unknown-linux-gnu"
     else if stdenv.system == "x86_64-linux"
     then "x86_64-unknown-linux-gnu"
+    else if stdenv.system == "i686-darwin"
+    then "i686-apple-darwin"
     else if stdenv.system == "x86_64-darwin"
     then "x86_64-apple-darwin"
     else abort "no snapshot to boostrap for this platform (missing target triple";