Skip to content

Commit

Permalink
pkgs(mcsmanager): fix version read from
Browse files Browse the repository at this point in the history
  • Loading branch information
5aaee9 committed Jan 30, 2025
1 parent 1ca1114 commit d27d76c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/mcsmanager/pkg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@ stdenvNoCC.mkDerivation rec {
substituteInPlace daemon/app.js \
--replace-fail 'process.cwd(), "lib"' "\"$out/mcsmanager/daemon\", \"lib\""
substituteInPlace daemon/app.js \
--replace-fail 'const PACKAGE_JSON = "package.json";' "const PACKAGE_JSON = \"$out/mcsmanager/daemon/package.json\";"
substituteInPlace web/app.js \
--replace-fail 'process.cwd(), "public"' "\"$out/mcsmanager/web\", \"public\""
substituteInPlace web/app.js \
--replace-fail 'const PACKAGE_JSON = "package.json";' "const PACKAGE_JSON = \"$out/mcsmanager/web/package.json\";"
substituteInPlace daemon/app.js \
--replace-fail 'fs_extra_1.default.chmodSync(const_2.' "// fs_extra_1.default.chmodSync(const_2."
Expand Down

0 comments on commit d27d76c

Please sign in to comment.