summary refs log tree commit diff
path: root/pkgs/tools/filesystems/duperemove/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/duperemove/default.nix')
-rw-r--r--pkgs/tools/filesystems/duperemove/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/filesystems/duperemove/default.nix b/pkgs/tools/filesystems/duperemove/default.nix
index 146414a47e10..d333334d394c 100644
--- a/pkgs/tools/filesystems/duperemove/default.nix
+++ b/pkgs/tools/filesystems/duperemove/default.nix
@@ -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;
   };
 }