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
|
||||
, pkgconfig, glib, linuxHeaders, sqlite }:
|
||||
{ stdenv, fetchFromGitHub, libgcrypt
|
||||
, pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "duperemove-${version}";
|
||||
@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
||||
homepage = https://github.com/markfasheh/duperemove;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ bluescreen303 thoughtpolice ];
|
||||
platforms = lib.platforms.all;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ bluescreen303 thoughtpolice ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -759,9 +759,7 @@ in
|
||||
|
||||
dtrx = callPackage ../tools/compression/dtrx { };
|
||||
|
||||
duperemove = callPackage ../tools/filesystems/duperemove {
|
||||
linuxHeaders = linuxHeaders_3_18;
|
||||
};
|
||||
duperemove = callPackage ../tools/filesystems/duperemove { };
|
||||
|
||||
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user