diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-16 17:52:47 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-20 22:22:23 -0300 |
commit | cb1c86036fd1d28281cbe1f9d570a815e4b0cba5 (patch) | |
tree | 5fd8a32f964f8562dab651c3afabd57149573cc5 /pkgs/development/tools/parsing/byacc | |
parent | 072e17f8f2469a33eb4f3747e1343ebd23f35d9a (diff) |
byacc: change self to finalAttrs
Diffstat (limited to 'pkgs/development/tools/parsing/byacc')
-rw-r--r-- | pkgs/development/tools/parsing/byacc/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/tools/parsing/byacc/default.nix b/pkgs/development/tools/parsing/byacc/default.nix index adb8c7bd04228..a04527063a83d 100644 --- a/pkgs/development/tools/parsing/byacc/default.nix +++ b/pkgs/development/tools/parsing/byacc/default.nix @@ -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="; }; |