Fix running from results folder.

main
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
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ let
#core idea: Generate UUID from storage path of this script, ensure
#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 all global env vars