diff options
Diffstat (limited to 'pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh')
-rwxr-xr-x | pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh b/pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh index 90f8baf8e1b6..e6838148863e 100755 --- a/pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh +++ b/pkgs/applications/misc/ArchiSteamFarm/web-ui/update.sh @@ -1,8 +1,8 @@ #!/usr/bin/env nix-shell -#! nix-shell -I nixpkgs=../../../.. -i bash -p nodePackages.node2nix gnused jq curl +#! nix-shell -I nixpkgs=../../../../.. -i bash -p nodePackages.node2nix gnused jq curl set -eoux pipefail -pushd ../../../.. +pushd ../../../../.. version=$(nix-instantiate --strict --eval -A ArchiSteamFarm.version | jq -r) popd pushd "$(dirname "$0")" |