try to make build work with newer node versions

This commit is contained in:
Robin Appelman 2025-05-29 15:16:03 +02:00
commit 32d31b5791
4 changed files with 1973 additions and 1392 deletions

14
flake.lock generated
View file

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1693142236,
"narHash": "sha256-ooBPuu7YbHNuNJPVaeUoFSLXPWGujRK0CIV3LLF9tgU=",
"lastModified": 1748519218,
"narHash": "sha256-soO7CU/oq5HtM2ZVBiBxkK7Lk48XAxsPE8hXZmhwudo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b80cef7eb8a9bc5b4f94172ebf4749c8ee3d770c",
"rev": "dcd6307d266b8bc4d5472373271c129010a8a045",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "release-23.05",
"ref": "release-25.05",
"type": "indirect"
}
},
@ -41,11 +41,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1692799911,
"narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=",
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {

View file

@ -1,7 +1,7 @@
{
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/release-23.05";
nixpkgs.url = "nixpkgs/release-25.05";
};
outputs = {
@ -14,8 +14,8 @@
pkgs = (import nixpkgs) {
inherit system overlays;
};
nodejs = pkgs.nodejs_18;
in rec {
nodejs = pkgs.nodejs_22;
in {
# `nix develop`
devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
@ -28,7 +28,14 @@
python3
nodePackages.patch-package
];
buildInputs = with pkgs; [libjpeg pixman cairo pango postgresql];
buildInputs = with pkgs; [
libjpeg
pixman
cairo
pango
postgresql
postgresql.pg_config
];
};
});
}

3334
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,8 +27,14 @@
},
"devDependencies": {
"@types/gif-encoder": "^0.7.0",
"@types/node": "^14.14.22",
"@types/node": "^22.13.14",
"@types/steamid": "^2.0.0",
"typescript": "^4.1.3"
},
"overrides": {
"mx-puppet-bridge": {
"better-sqlite3": "^11.4.0",
"canvas": "^3.1.0"
}
}
}