Unverified Commit 163b5859 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

pychess: use writableTmpDirAsHomeHook (#399555)

parents 2171f8d3 1d2342f4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  gtk3,
  gst_all_1,
  gtksourceview,
  writableTmpDirAsHomeHook,
}:

python3Packages.buildPythonApplication rec {
@@ -25,6 +26,7 @@ python3Packages.buildPythonApplication rec {
    pkg-config
    gobject-introspection
    wrapGAppsHook3
    writableTmpDirAsHomeHook
  ];

  buildInputs = [
@@ -50,7 +52,6 @@ python3Packages.buildPythonApplication rec {
  '';

  preBuild = ''
    export HOME=$(mktemp -d)
    export PYTHONPATH=./lib:$PYTHONPATH
    python pgn2ecodb.py
    python create_theme_preview.py