Unverified Commit 53f1987b authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

inko: use finalAttrs (#423132)

parents a69a9746 edfd40fe
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "inko";
  version = "0.18.1";

  src = fetchFromGitHub {
    owner = "inko-lang";
    repo = "inko";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-jVfAfR02R2RaTtzFSBoLuq/wdPaaI/eochrZaRVdmHY=";
  };

@@ -72,4 +72,4 @@ rustPlatform.buildRustPackage rec {
    platforms = lib.platforms.unix;
    mainProgram = "inko";
  };
}
})