diff options
author | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
commit | bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d (patch) | |
tree | c4f1c253bf8cf5fe17612039d2a27acbdacef253 /pkgs/tools/misc/cloc | |
parent | 921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff) | |
download | nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.gz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.bz2 nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.lz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.xz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.zst nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.zip |
lib.makePerlPath -> perlPackages.makePerlPath
Diffstat (limited to 'pkgs/tools/misc/cloc')
-rw-r--r-- | pkgs/tools/misc/cloc/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/misc/cloc/default.nix b/pkgs/tools/misc/cloc/default.nix index 5a69a6ae7ad..903b5b13f84 100644 --- a/pkgs/tools/misc/cloc/default.nix +++ b/pkgs/tools/misc/cloc/default.nix @@ -1,6 +1,4 @@ -{ stdenv, fetchFromGitHub, makeWrapper, perl -, AlgorithmDiff, ParallelForkManager, RegexpCommon -}: +{ stdenv, fetchFromGitHub, makeWrapper, perlPackages }: stdenv.mkDerivation rec { name = "cloc-${version}"; @@ -17,9 +15,9 @@ stdenv.mkDerivation rec { sourceRoot=$(echo */Unix) ''; - buildInputs = [ - makeWrapper perl AlgorithmDiff ParallelForkManager RegexpCommon - ]; + buildInputs = [ makeWrapper ] ++ (with perlPackages; [ + perl AlgorithmDiff ParallelForkManager RegexpCommon + ]); makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ]; |