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.

+7 -9
+6 -6
pkgs/tools/filesystems/duperemove/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, libgcrypt 2 - , pkgconfig, glib, linuxHeaders, sqlite }: 1 + { stdenv, fetchFromGitHub, libgcrypt 2 + , pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "duperemove-${version}"; ··· 16 16 17 17 makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; 18 18 19 - meta = { 19 + meta = with stdenv.lib; { 20 20 description = "A simple tool for finding duplicated extents and submitting them for deduplication"; 21 21 homepage = https://github.com/markfasheh/duperemove; 22 - license = lib.licenses.gpl2; 23 - maintainers = with lib.maintainers; [ bluescreen303 thoughtpolice ]; 24 - platforms = lib.platforms.all; 22 + license = licenses.gpl2; 23 + maintainers = with maintainers; [ bluescreen303 thoughtpolice ]; 24 + platforms = platforms.linux; 25 25 }; 26 26 }
+1 -3
pkgs/top-level/all-packages.nix
··· 759 759 760 760 dtrx = callPackage ../tools/compression/dtrx { }; 761 761 762 - duperemove = callPackage ../tools/filesystems/duperemove { 763 - linuxHeaders = linuxHeaders_3_18; 764 - }; 762 + duperemove = callPackage ../tools/filesystems/duperemove { }; 765 763 766 764 dynamic-colors = callPackage ../tools/misc/dynamic-colors { }; 767 765