Nix: only build src
This commit is contained in:
parent
e9b46fc2e7
commit
e86bfb7a6b
@ -39,6 +39,7 @@
|
|||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = with pkgs; [ python3 ];
|
nativeBuildInputs = with pkgs; [ python3 ];
|
||||||
npmDepsHash = hashesFile.npmDepsHash;
|
npmDepsHash = hashesFile.npmDepsHash;
|
||||||
|
npmBuildScript = "build:src";
|
||||||
makeCacheWritable = true;
|
makeCacheWritable = true;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace package.json --replace 'npx patch-package' '${pkgs.nodePackages.patch-package}/bin/patch-package'
|
substituteInPlace package.json --replace 'npx patch-package' '${pkgs.nodePackages.patch-package}/bin/patch-package'
|
||||||
|
|||||||
Reference in New Issue
Block a user