Skip to content

Commit

Permalink
rebase?
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArcaneBrony committed Sep 26, 2023
1 parent 9e99df8 commit 15b37d5
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ build
*.log.ansi
*.tmp
tmp/
dump/
dump/
result
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
#inputs.nixpkgs.url = "github:lilyinstarlight/nixpkgs/unheck/nodejs";

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
Expand All @@ -17,8 +16,7 @@
src = ./.;
name = "spacebar-server-ts";
nativeBuildInputs = with pkgs; [ python3 ];
npmDepsHash = "sha256-WYPSYfKHK2Cq02lOl8w8A1TUSnliw06Kq4YocuuIfms=";
#dontNpmBuild = true;
npmDepsHash = "";
makeCacheWritable = true;
postPatch = ''
substituteInPlace package.json --replace 'npx patch-package' '${pkgs.nodePackages.patch-package}/bin/patch-package'
Expand Down
2 changes: 1 addition & 1 deletion nix-rebuild-flake.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env nix-shell
#!nix-shell -i "bash -x" -p bash
DEPS_HASH=`nix run github:lilyinstarlight/nixpkgs/unheck/nodejs#prefetch-npm-deps -- package-lock.json`
DEPS_HASH=`nix run nixpkgs#prefetch-npm-deps -- package-lock.json`
sed 's/$NPM_HASH/'${DEPS_HASH/\//\\\/}'/g' flake.template.nix > flake.nix
242 changes: 241 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"typescript": "^4.9.4"
},
"dependencies": {
"express": "^4.18.1",
"@aws-sdk/client-s3": "^3.178.0",
"@sentry/integrations": "^7.17.2",
"@sentry/node": "^7.17.2",
Expand All @@ -79,6 +78,7 @@
"cookie-parser": "^1.4.6",
"dotenv": "^16.0.2",
"exif-be-gone": "^1.3.1",
"express": "^4.18.1",
"fast-zlib": "^2.0.1",
"fido2-lib": "^3.3.5",
"file-type": "16.5",
Expand All @@ -98,6 +98,7 @@
"node-fetch": "^2.6.7",
"node-os-utils": "^1.3.7",
"nodemailer": "^6.9.0",
"pg": "^8.11.3",
"picocolors": "^1.0.0",
"probe-image-size": "^7.2.3",
"proxy-agent": "^5.0.0",
Expand Down

0 comments on commit 15b37d5

Please sign in to comment.