Skip to content

Commit

Permalink
Upgrade to Foundry 11.301
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenniak committed Jun 9, 2023
1 parent 6c52bfc commit aae6c68
Show file tree
Hide file tree
Showing 4 changed files with 2,903 additions and 641 deletions.
6 changes: 3 additions & 3 deletions pkgs/foundryvtt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
pname = "foundryvtt";
version = "${finalAttrs.majorVersion}.${finalAttrs.minorVersion}.${finalAttrs.patchVersion}+${finalAttrs.build}";

majorVersion = "10";
majorVersion = "11";
minorVersion = "0";
patchVersion = "0";
build = "291";
build = "301";

src = requireFile {
name = "FoundryVTT-${finalAttrs.majorVersion}.${finalAttrs.build}.zip";
sha256 = "0j9xjqqpl8maggi45wskajxl2c9jlcl8pw1cx6nmgbcj5w4c5xrf";
sha256 = "1r5bqhd3cfq3yvzb1yybgvysbhbjqv6d2f768b063fdsdq2ixi2s";
url = "https://foundryvtt.com";
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/foundryvtt/foundryvtt-deps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-18_x"}:
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_18"}:

let
nodeEnv = import ./node-env.nix {
Expand Down
7 changes: 5 additions & 2 deletions pkgs/foundryvtt/foundryvtt-deps/node-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,15 @@ let
then
ln -s $out/lib/node_modules/.bin $out/bin
# Patch the shebang lines of all the executables
# Fixup all executables
ls $out/bin/* | while read i
do
file="$(readlink -f "$i")"
chmod u+rwx "$file"
patchShebangs "$file"
if isScript "$file"
then
sed -i 's/\r$//' "$file" # convert crlf to lf
fi
done
fi
Expand Down
Loading

0 comments on commit aae6c68

Please sign in to comment.