Fix override example
This commit is contained in:
parent
cce1630d5b
commit
2fb157acaf
1 changed files with 3 additions and 3 deletions
|
@ -299,12 +299,12 @@ let
|
|||
inherit pkgs system;
|
||||
};
|
||||
in
|
||||
phpPackage.override (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.graphviz ];
|
||||
phpPackage.override {
|
||||
buildInputs = [ pkgs.graphviz ];
|
||||
postInstall = ''
|
||||
php vendor/bin/phpdocumentor -d src -t out
|
||||
'';
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
The above expression overrides the generated PHP package by supplying `graphviz`
|
||||
|
|
Loading…
Reference in a new issue