Unverified Commit edfd40fe authored by Sizhe Zhao's avatar Sizhe Zhao
Browse files

inko: use finalAttrs

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