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"; }; -} +})