From b9b193e4a37b272011c3280bc3dfde1b41910884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 14 Oct 2014 21:12:23 +0200 Subject: [PATCH] lttng-modules: use proper version number And note why we're not using the latest stable release (because of support for linux >= 3.16). --- pkgs/os-specific/linux/lttng-modules/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix index 9fdb5b42bf8a..a520db334266 100644 --- a/pkgs/os-specific/linux/lttng-modules/default.nix +++ b/pkgs/os-specific/linux/lttng-modules/default.nix @@ -3,14 +3,15 @@ assert stdenv.lib.versionAtLeast kernel.version "3.4"; # fails on 3.2 stdenv.mkDerivation rec { - pname = "lttng-modules-${rev}"; + pname = "lttng-modules-${version}"; name = "${pname}-${kernel.version}"; - rev = "bf2ba318fff"; + # 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" src = fetchgit { url = "https://github.com/lttng/lttng-modules.git"; sha256 = "0x70xp463g208rdz5b9b0wdwr2v8px1bwa589knvp4j7zi8d2gj9"; - inherit rev; + rev = "bf2ba318fff"; }; preConfigure = ''