which: replace name with pname&version
This commit is contained in:
parent
5ecd150391
commit
f95ff13919
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "which-2.21";
|
pname = "which";
|
||||||
|
version = "2.21";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/which/${name}.tar.gz";
|
url = "mirror://gnu/which/which-${version}.tar.gz";
|
||||||
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue