diff --git a/packages/pob.nix b/packages/pob.nix index f80b3cd..dcdf48f 100644 --- a/packages/pob.nix +++ b/packages/pob.nix @@ -19,8 +19,8 @@ let src = fetchFromGitHub { owner = "PathOfBuildingCommunity"; repo = "PathOfBuilding"; - rev = "b28c9cd74b664a9af3fb8d72416afebe140b350a"; - hash = "sha256-fxpxuS64MpHJrq1tqrhZFKF0wz7phyijLIHEuxzUfa0="; + rev = "9481c10746f58e73f72572363ae6891129a95200"; + hash = "sha256-TMJp/+DCHIXNtt96291c3Nf19QaGhnhCmx73mcMk9jM="; }; nativeBuildInputs = [ unzip ]; diff --git a/scripts/update-pob.sh b/scripts/update-pob.sh index 04005dd..85cefbe 100755 --- a/scripts/update-pob.sh +++ b/scripts/update-pob.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -eo pipefail -set -x +# set -x # TODO: Update pobfrontend as well? @@ -11,7 +11,7 @@ else nurl_output=$(nurl -j https://github.com/PathOfBuildingCommunity/PathOfBuilding "$1" 2>/dev/null) fi -hash=$(jq '.args.hash' <<< "$nurl_output") +hash=$(jq '.args.hash' <<< "$nurl_output" | sed 's/\//\\\//g') echo "Updating pob to $rev" # Find lines to replace