duperemove: get linuxHeaders from stdenv
Building against anything other than the headers used to build libc doesn't really make any sense. Also: this package is Linux specific, so mark it as such.
This commit is contained in:
parent
ec2ddf284d
commit
e0c07070b1
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, libgcrypt
|
{ stdenv, fetchFromGitHub, libgcrypt
|
||||||
, pkgconfig, glib, linuxHeaders, sqlite }:
|
, pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "duperemove-${version}";
|
name = "duperemove-${version}";
|
||||||
@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
||||||
homepage = https://github.com/markfasheh/duperemove;
|
homepage = https://github.com/markfasheh/duperemove;
|
||||||
license = lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with lib.maintainers; [ bluescreen303 thoughtpolice ];
|
maintainers = with maintainers; [ bluescreen303 thoughtpolice ];
|
||||||
platforms = lib.platforms.all;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -759,9 +759,7 @@ in
|
|||||||
|
|
||||||
dtrx = callPackage ../tools/compression/dtrx { };
|
dtrx = callPackage ../tools/compression/dtrx { };
|
||||||
|
|
||||||
duperemove = callPackage ../tools/filesystems/duperemove {
|
duperemove = callPackage ../tools/filesystems/duperemove { };
|
||||||
linuxHeaders = linuxHeaders_3_18;
|
|
||||||
};
|
|
||||||
|
|
||||||
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user