mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
which: replace name with pname&version
This commit is contained in:
parent
5ecd150391
commit
f95ff13919
@ -1,10 +1,11 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "which-2.21";
|
||||
pname = "which";
|
||||
version = "2.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/which/${name}.tar.gz";
|
||||
url = "mirror://gnu/which/which-${version}.tar.gz";
|
||||
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user