mempool: minor refactorings
- Use `sourceRoot` - Allow `generate.sh` to directly trigger the build of `nodeModules`. Needed by mempool 3.2.1, where `mempool-backend` has multiple fixed output derivation dependencies, which can only be updated if they can be built directly.
This commit is contained in:
parent
c48b99782d
commit
d61099a535
2 changed files with 8 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ updateNodeModulesHash() {
|
|||
component=$1
|
||||
echo
|
||||
echo "Fetching node modules for mempool-$component"
|
||||
../../helper/update-fixed-output-derivation.sh ./default.nix mempool-"$component" "cd $component"
|
||||
../../helper/update-fixed-output-derivation.sh ./default.nix mempool-"$component".nodeModules "sourceRoot.*$component"
|
||||
}
|
||||
|
||||
updateFrontendAssets() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue