Unverified Commit 47718eca authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

jellyfin-tui: fix versionCheck on darwin (#422013)

parents 100a0732 f4e4292e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  rustPlatform,
  pkg-config,
@@ -37,7 +38,9 @@ rustPlatform.buildRustPackage rec {
  versionCheckProgramArg = "--version";
  versionCheckKeepEnvironment = [ "HOME" ];
  preInstallCheck = ''
    mkdir -p $HOME/.local/share
    mkdir -p "$HOME/${
      if stdenv.buildPlatform.isDarwin then "Library/Application Support" else ".local/share"
    }"
  '';
  doInstallCheck = true;