Unverified Commit 04e4b6a5 authored by seth's avatar seth
Browse files
parent 722c58b5
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -22,21 +22,21 @@ in

rustPlatform.buildRustPackage rec {
  pname = "modrinth-app-unwrapped";
  version = "0.8.9";
  version = "0.9.0";

  src = fetchFromGitHub {
    owner = "modrinth";
    repo = "code";
    rev = "refs/tags/v${version}";
    hash = "sha256-DR1aPbSqAVhL/m/Maa3mPzNWwK4A1WvDd/PwEMVYn5g=";
    tag = "v${version}";
    hash = "sha256-uDG+WHeMY/quzF8mHBn5o8xod4/G5+S4/zD2lbqdN0M=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-cIJooOuAmDieikpm7W78rjTjxO1c+Sk005Y/VN/cqRg=";
  cargoHash = "sha256-D9hkdliyKc8m9i2D9pG3keGmZsx+rzrgVXZws9Ot24I=";

  pnpmDeps = pnpm.fetchDeps {
    inherit pname version src;
    hash = "sha256-murZ82LV2pGng/Cg08NoWr/mDIVECrf00utVrs6PKRg=";
    hash = "sha256-nFuPFgwJw38XVxhW0QXmU31o+hqJKGJysnPg2YSg2D0=";
  };

  nativeBuildInputs = [
@@ -53,6 +53,12 @@ rustPlatform.buildRustPackage rec {
    ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11
    ++ lib.optional stdenv.hostPlatform.isLinux webkitgtk_4_1;

  # Tests fail on other, unrelated packages in the monorepo
  cargoTestFlags = [
    "--package"
    "theseus_gui"
  ];

  env = {
    TURBO_BINARY_PATH = lib.getExe turbo;
  };
+1 −2
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@
  xorg,
}:

symlinkJoin rec {
  name = "${pname}-${version}";
symlinkJoin {
  pname = "modrinth-app";
  inherit (modrinth-app-unwrapped) version;