File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,13 +34,12 @@ pkgs.stdenv.mkDerivation {
3434 license = licenses . agpl3Plus ;
3535 platforms = platforms . all ;
3636 mainProgram = "start-bundle" ;
37- maintainers = with maintainers ; [ RorySys ] ; # lol.
37+ maintainers = with maintainers ; [ RorySys ] ;
3838 } ;
3939
4040 src = filteredSrc ;
4141 dontStrip = true ;
4242
43- npmBuildScript = "build:tsgo" ;
4443 nativeBuildInputs = with pkgs ; [
4544 nodejs
4645 makeWrapper
@@ -49,12 +48,12 @@ pkgs.stdenv.mkDerivation {
4948
5049 configurePhase = ''
5150 cp -r --no-preserve=ownership,timestamps ${ pkgs . callPackage ./node-modules.nix { } } node_modules
52- chown $USER:$GROUP node_modules -Rc
53- chmod +w node_modules -Rc
51+ chown $USER:$GROUP node_modules -R
52+ chmod +w node_modules -R
5453 '' ;
5554
5655 buildPhase = ''
57- npm run --loglevel silly build:tsgo
56+ npm run build:tsgo
5857 '' ;
5958
6059 installPhase =
@@ -71,9 +70,8 @@ pkgs.stdenv.mkDerivation {
7170 runHook preInstall
7271 # set -x
7372
74- echo installPhase
7573 # remove packages not needed for production, or at least try to...
76- npm prune --omit dev --no-save --offline #--loglevel silly
74+ npm prune --omit dev --no-save --offline
7775 rm -v dist/src.tsbuildinfo
7876 rm -rv scripts
7977 time ${ ./nix/trimNodeModules.sh }
You can’t perform that action at this time.
0 commit comments