about summary refs log tree commit diff
path: root/pkgs/top-level/rust-packages.nix
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2015-05-12 14:27:47 +0200
committerRicardo M. Correia <rcorreia@wizy.org>2015-05-12 17:28:49 +0200
commit548e8db2499f38fe1b06a78fad7c1ddb53e0029d (patch)
tree95760a1dbd6515abde2bb9f222cde80d81f51f6c /pkgs/top-level/rust-packages.nix
parent4c77830a93a5cc3b909f8675d4d35a2f5f232839 (diff)
downloadnixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar.gz
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar.bz2
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar.lz
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar.xz
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.tar.zst
nixlib-548e8db2499f38fe1b06a78fad7c1ddb53e0029d.zip
rustRegistry: 2015-04-23 -> 2015-05-12
Diffstat (limited to 'pkgs/top-level/rust-packages.nix')
-rw-r--r--pkgs/top-level/rust-packages.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/top-level/rust-packages.nix b/pkgs/top-level/rust-packages.nix
index 8cbc4a73d28f..5e3977ab6d68 100644
--- a/pkgs/top-level/rust-packages.nix
+++ b/pkgs/top-level/rust-packages.nix
@@ -7,24 +7,21 @@
 { runCommand, fetchgit, git }:
 
 let
-  version = "2015-04-23";
+  version = "2015-05-12";
 
   src = fetchgit {
       url = git://github.com/rust-lang/crates.io-index.git;
 
-      rev = "965b634156cc5c6f10c7a458392bfd6f27436e7e";
-      sha256 = "1hbl3g1d6yz6x2fm76dxmcn8rdrmri4l9n6flvv0pkn4hsid7zw1";
-
-      # cargo needs the 'master' branch to exist
-      leaveDotGit = true;
-      branchName = "master";
+      rev = "9bf9e7f2b242552ccec879b47b2225a76c7c79b0";
+      sha256 = "14rrpm6and52qasn7fv5fkflhnkyr86xy0k9pjgw407k7xms0cmw";
   };
 
 in
 
 runCommand "rustRegistry-${version}-${builtins.substring 0 7 src.rev}" {} ''
   # For some reason, cargo doesn't like fetchgit's git repositories, not even
-  # if we clone them (tested with registry rev
+  # if we set leaveDotGit to true, set the fetchgit branch to 'master' and clone
+  # the repository (tested with registry rev
   # 965b634156cc5c6f10c7a458392bfd6f27436e7e), failing with the message:
   #
   # "Target OID for the reference doesn't exist on the repository"