Browse Source

Fix running from results folder.

main
Philipp 4 months ago
parent
commit
4951e461d0
No known key found for this signature in database GPG Key ID: 2258EE3B85DE1748
  1. 2
      default.nix

2
default.nix

@ -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…
Cancel
Save