From 196dbefbaa56481ea99ad3d7346a9d77951482ca Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Mon, 27 Nov 2023 00:15:00 +0100 Subject: [PATCH] otus-lisp: use finalAttrs pattern --- pkgs/by-name/ot/otus-lisp/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ot/otus-lisp/package.nix b/pkgs/by-name/ot/otus-lisp/package.nix index e122b601b71a..ba51c417fdb8 100644 --- a/pkgs/by-name/ot/otus-lisp/package.nix +++ b/pkgs/by-name/ot/otus-lisp/package.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub, xxd }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "otus-lisp"; version = "2.5"; src = fetchFromGitHub { owner = "yuriy-chumak"; repo = "ol"; - rev = version; - sha256 = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us="; + rev = finalAttrs.version; + hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us="; }; nativeBuildInputs = [ xxd ]; @@ -23,4 +23,4 @@ stdenv.mkDerivation rec { maintainers = with lib.maintainers; [ nagy ]; mainProgram = "ol"; }; -} +})