mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
lockdep: 3.16.1 -> 3.17
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
e73aefcf93
commit
df4c8d85ae
|
@ -2,11 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lockdep-${version}";
|
||||
version = "3.16.1";
|
||||
version = "3.17";
|
||||
fullver = "3.17.0"; # The library ver is 3.17.0, but the kernel is 3.17
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
||||
sha256 = "0wbxqlmk7w9047ir51dsz6vi7ww0hpycgrb43mk2a189xaldsdxy";
|
||||
sha256 = "0lb2yyh3j932789jq4gxx9xshgy6rfdnl3lm8yr43kaz7k4kw5gm";
|
||||
};
|
||||
|
||||
preConfigure = "cd tools/lib/lockdep";
|
||||
|
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
cp -R include/liblockdep $out/include
|
||||
make install DESTDIR=$out prefix=""
|
||||
|
||||
substituteInPlace $out/bin/lockdep --replace "./liblockdep.so" "$out/lib/liblockdep.so.$version"
|
||||
substituteInPlace $out/bin/lockdep --replace "./liblockdep.so" "$out/lib/liblockdep.so.$fullver"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue