diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-09 19:28:24 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-13 19:35:09 +0200 |
commit | e0c07070b1fca1ec237f3a4ab04cbec0b6c75282 (patch) | |
tree | 14e6bb3cadade7d6d99d9c5c155dffb027114ae9 /pkgs/tools/filesystems | |
parent | ec2ddf284d5d435f75a284cb3b840f15ab371741 (diff) | |
download | nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar.gz nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar.bz2 nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar.lz nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar.xz nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.tar.zst nixpkgs-e0c07070b1fca1ec237f3a4ab04cbec0b6c75282.zip |
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.
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/duperemove/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/filesystems/duperemove/default.nix b/pkgs/tools/filesystems/duperemove/default.nix index 146414a47e1..d333334d394 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; }; } |