mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
doc/mkYarnPackage: document better distPhase and doDist
This commit is contained in:
parent
cc744fc74a
commit
290c16532c
@ -315,10 +315,10 @@ buildPhase = ''
|
||||
'';
|
||||
```
|
||||
|
||||
The dist phase is also trying to build a binary, the only way to override it is with:
|
||||
The `distPhase` is packing the package's dependencies in a tarball using `yarn pack`. You can disable it using:
|
||||
|
||||
```nix
|
||||
distPhase = "true";
|
||||
doDist = false;
|
||||
```
|
||||
|
||||
The configure phase can sometimes fail because it makes many assumptions which may not always apply. One common override is:
|
||||
|
Loading…
Reference in New Issue
Block a user