Commit 7a74a342 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent e0d95e12
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -15,22 +15,15 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "zellij";
  version = "0.42.1";
  version = "0.42.2";

  src = fetchFromGitHub {
    owner = "zellij-org";
    repo = "zellij";
    tag = "v${finalAttrs.version}";
    hash = "sha256-EK+eQfNhfVxjIsoyj43tcRjHDT9O8/n7hUz24BC42nw=";
    hash = "sha256-O7BZlPSBWy+q349NYCUsw4Rb5X3xyl5Ar+a/uQPQhZY=";
  };

  # Fix build with Rust 1.86
  # FIXME: remove when merged upstream
  # See: https://github.com/zellij-org/zellij/pull/4118
  cargoPatches = [
    ./rust-1.86.patch
  ];

  # Remove the `vendored_curl` feature in order to link against the libcurl from nixpkgs instead of
  # the vendored one
  postPatch = ''
@@ -39,7 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
  '';

  useFetchCargoVendor = true;
  cargoHash = "sha256-d2/tEYU2tOLtC0NHa7YBGrbmHHDV7BkUZHJ2P7GdwAw=";
  cargoHash = "sha256-Vo3bshaHjy2F2WFGgaIDEFFAh0e5VPp2G4fETgIH484=";

  env.OPENSSL_NO_VENDOR = 1;