Skip to content

Commit

Permalink
fix broken npm lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NyCodeGHG committed Sep 30, 2023
1 parent bec68fa commit 14350d6
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 231 deletions.
24 changes: 12 additions & 12 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
inputs.devenv.flakeModule
./nix/shell.nix
./nix/flake-module.nix
];
systems = [
"x86_64-linux"
Expand Down
4 changes: 2 additions & 2 deletions nix/package/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
in
php.buildComposerProject {
pname = "traewelling";
version = "1.45.4";
version = "1.46.3";

src = lib.cleanSource ../..;

Expand All @@ -26,5 +26,5 @@ in
${lndir}/bin/lndir -silent ${web} $out/share/php/traewelling/public
'';

vendorHash = "sha256-SG5RsKaP7zqJY2vjvULuNdf7w6tAGh7/dlxx2Pkfj2A=";
vendorHash = "sha256-6QC1O8/60uIuVcvploHKR762CafBYs7RLaPprIynkfQ=";
}
4 changes: 1 addition & 3 deletions nix/package/web/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ buildNpmPackage {
name = "traewelling-web";
src = lib.cleanSource ../../..;

npmDepsHash = "sha256-3WmVa6GoJkiAXDh3IqHbkeRxZLFhSCbbaEOPoNF4ybU=";
npmPackFlags = ["--ignore-scripts"];
npmBuildScript = "production";
npmDepsHash = "sha256-mL9lnoXIFWp9qxJtzAvaPCnQP4RQCYLaRu3aTDHb3+E=";

prePatch = ''
# delete public directory to only get web output results in this derivation
Expand Down
Loading

0 comments on commit 14350d6

Please sign in to comment.