summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lttng-modules
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-10-14 21:12:23 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-10-14 21:12:23 +0200
commitb9b193e4a37b272011c3280bc3dfde1b41910884 (patch)
treea50393dd882a1163516618fe036d5c293312b11c /pkgs/os-specific/linux/lttng-modules
parent90badb42d1a9dbb11ddb1d3ca49771e1cc70dfd2 (diff)
downloadnixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar.gz
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar.bz2
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar.lz
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar.xz
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.tar.zst
nixpkgs-b9b193e4a37b272011c3280bc3dfde1b41910884.zip
lttng-modules: use proper version number
And note why we're not using the latest stable release (because of
support for linux >= 3.16).
Diffstat (limited to 'pkgs/os-specific/linux/lttng-modules')
-rw-r--r--pkgs/os-specific/linux/lttng-modules/default.nix7
1 files 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 9fdb5b42bf8..a520db33426 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 = ''