lttng-modules: use proper version number

And note why we're not using the latest stable release (because of
support for linux >= 3.16).
This commit is contained in:
Bjørn Forsman 2014-10-14 21:12:23 +02:00
parent 90badb42d1
commit b9b193e4a3

View file

@ -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 = ''