about summary refs log tree commit diff
path: root/pkgs/os-specific/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-05-19 21:28:14 +0000
committerLudovic Courtès <ludo@gnu.org>2010-05-19 21:28:14 +0000
commitb9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b (patch)
tree47da544c00e000b6ccf061238ab90bb3101f3132 /pkgs/os-specific/gnu
parent5cb28c179c30a8698e35a31a63250f4ade1139e8 (diff)
downloadnixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar.gz
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar.bz2
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar.lz
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar.xz
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.tar.zst
nixlib-b9e28b8a8e4fd7333d408bfe6c35cb6ca24d0a2b.zip
GNU Hurd: Use the date as the version number.
svn path=/nixpkgs/trunk/; revision=21897
Diffstat (limited to 'pkgs/os-specific/gnu')
-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";