From f86ef0267809280a226661eb7acdb845042d2076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 21 Oct 2014 21:23:55 +0200 Subject: [PATCH] lttng-modules: update to 2.6.0-rc1 --- pkgs/os-specific/linux/lttng-modules/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix index a520db334266..af8ccd63e37f 100644 --- a/pkgs/os-specific/linux/lttng-modules/default.nix +++ b/pkgs/os-specific/linux/lttng-modules/default.nix @@ -1,17 +1,15 @@ -{ stdenv, fetchgit, kernel }: +{ stdenv, fetchurl, kernel }: assert stdenv.lib.versionAtLeast kernel.version "3.4"; # fails on 3.2 stdenv.mkDerivation rec { pname = "lttng-modules-${version}"; name = "${pname}-${kernel.version}"; - # Support for linux 3.16 and 3.17 was added just after the 2.5.0 release - version = "2.5.0-58-gbf2ba31"; # "git describe bf2ba318fff" + version = "2.6.0-rc1"; # "git describe bf2ba318fff" - src = fetchgit { - url = "https://github.com/lttng/lttng-modules.git"; - sha256 = "0x70xp463g208rdz5b9b0wdwr2v8px1bwa589knvp4j7zi8d2gj9"; - rev = "bf2ba318fff"; + src = fetchurl { + url = "https://github.com/lttng/lttng-modules/archive/v${version}.tar.gz"; + sha256 = "01gha02ybbzr86v6s6bqn649jiw5k89kb363b9s1iv8igrdlzhl1"; }; preConfigure = ''