mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
1d44ac176c
when enableParallelBuildingByDefault is enabled verified with `nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
22 lines
502 B
Nix
22 lines
502 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "which";
|
|
version = "2.21";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/which/which-${version}.tar.gz";
|
|
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
|
};
|
|
|
|
strictDeps = true;
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.gnu.org/software/which/";
|
|
description = "Shows the full path of (shell) commands";
|
|
platforms = platforms.all;
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|