Fix running from results folder.

This commit is contained in:
Philipp 2021-07-26 22:19:25 +02:00
parent d5b741555c
commit 4951e461d0
No known key found for this signature in database
GPG key ID: 2258EE3B85DE1748

View file

@ -162,7 +162,7 @@ let
#core idea: Generate UUID from storage path of this script, ensure #core idea: Generate UUID from storage path of this script, ensure
#new prefix for any changes. Needs fast prefix installs and state outside. #new prefix for any changes. Needs fast prefix installs and state outside.
uuid=$(basename $(${pkgs.nix}/bin/nix path-info "$BASH_SOURCE")) uuid=$(basename $(${pkgs.nix}/bin/nix path-info "$(readlink -f $BASH_SOURCE)"))
export WINEPREFIX="${prefixBaseDir}/$uuid" export WINEPREFIX="${prefixBaseDir}/$uuid"
#export all global env vars #export all global env vars