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