summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorLudovic Courtès2010-05-19 21:28:14 +0000
committerLudovic Courtès2010-05-19 21:28:14 +0000
commitb9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b (patch)
tree47da544c00e000b6ccf061238ab90bb3101f3132 /pkgs/os-specific
parent5cb28c179c30a8698e35a31a63250f4ade1139e8 (diff)
GNU Hurd: Use the date as the version number.
svn path=/nixpkgs/trunk/; revision=21897
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/gnu/hurd/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/os-specific/gnu/hurd/default.nix b/pkgs/os-specific/gnu/hurd/default.nix
index c9e1a1e6cab0..24deb3b3d8a1 100644
--- a/pkgs/os-specific/gnu/hurd/default.nix
+++ b/pkgs/os-specific/gnu/hurd/default.nix
@@ -1,9 +1,14 @@
 { fetchgit, stdenv, autoconf, automake, libtool, texinfo
 , machHeaders, mig, headersOnly ? true }:
 
-let rev = "7913beaef3e6a2c4f7f315a8db7a31dbe1f713e0"; in
-stdenv.mkDerivation (rec {
-  name = "hurd-0.4-${rev}";
+assert (cross != null) -> (gccCross != null);
+
+let
+  date = "2010-05-12";
+  rev  = "master@{${date}}";
+in
+stdenv.mkDerivation ({
+  name = "hurd-${date}";
 
   src = fetchgit {
     url = "git://git.sv.gnu.org/hurd/hurd.git";