Fix running from results folder.
This commit is contained in:
parent
d5b741555c
commit
4951e461d0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue