Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

exmap: Use kernel.dev instead of kernelDev

Doesn't build, tarball 404s

Signed-off-by: Shea Levy <shea@shealevy.com>
  • Loading branch information...
commit 34b7fb5027f5f2a973d8c5a6fbda0b05c79f5336 1 parent 9ce23df
@shlevy authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 pkgs/os-specific/linux/exmap/default.nix
View
8 pkgs/os-specific/linux/exmap/default.nix
@@ -1,7 +1,7 @@
-{ fetchurl, stdenv, kernelDev, pkgconfig, gtkmm, boost, pcre }:
+{ fetchurl, stdenv, kernel, pkgconfig, gtkmm, boost, pcre }:
stdenv.mkDerivation rec {
- name = "exmap-0.10-${kernelDev.version}";
+ name = "exmap-0.10-${kernel.version}";
src = fetchurl {
url = "http://www.berthels.co.uk/exmap/download/${name}.tgz";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace "kernel/Makefile" \
--replace '/lib/modules/$(shell uname -r)/build' \
- ${kernelDev}/lib/modules/*/build
+ ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build
# The `proc_root' variable (the root of `/proc') is no longer exported
# since 2.6.26. Fortunately, one can pass `NULL' instead of `&proc_root'.
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
substituteInPlace "src/Makefile" --replace "-Werror" ""
'';
- buildInputs = [ kernelDev pkgconfig gtkmm boost pcre ];
+ buildInputs = [ pkgconfig gtkmm boost pcre ];
buildPhase = "make build";
Please sign in to comment.
Something went wrong with that request. Please try again.