byacc: change self to finalAttrs
This commit is contained in:
parent
072e17f8f2
commit
cb1c86036f
|
@ -3,16 +3,14 @@
|
|||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (self: {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "byacc";
|
||||
version = "20230219";
|
||||
|
||||
src = fetchurl {
|
||||
urls = let
|
||||
inherit (self) pname version;
|
||||
in [
|
||||
"https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz"
|
||||
"ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz"
|
||||
urls = [
|
||||
"https://invisible-mirror.net/archives/byacc/byacc-${finalAttrs.version}.tgz"
|
||||
"ftp://ftp.invisible-island.net/byacc/byacc-${finalAttrs.version}.tgz"
|
||||
];
|
||||
hash = "sha256-NrlyptSul1hN0YaSX7vDl9JssgYyp2wvUqx2U80IG1g=";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue