mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-04-10 22:00:55 +01:00
fix: make bin linkers only for bin packages
Fixes binary linkers being made for non-binary direct dependencies.
This commit is contained in:
parent
4f48963da3
commit
3bc1f0fa5c
2 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Fix binary linkers being made for non-binary packages by @daimond113
|
||||||
|
|
||||||
## [0.6.1] - 2025-03-09
|
## [0.6.1] - 2025-03-09
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix path dependencies using project's workspace dependencies by @daimond113
|
- Fix path dependencies using project's workspace dependencies by @daimond113
|
||||||
|
|
|
@ -60,6 +60,7 @@ impl DownloadAndLinkHooks for InstallHooks {
|
||||||
.chain(
|
.chain(
|
||||||
graph
|
graph
|
||||||
.iter()
|
.iter()
|
||||||
|
.filter(|(_, node)| node.target.bin_path().is_some())
|
||||||
.filter_map(|(_, node)| node.node.direct.as_ref())
|
.filter_map(|(_, node)| node.node.direct.as_ref())
|
||||||
.map(|(alias, _, _)| alias.as_str()),
|
.map(|(alias, _, _)| alias.as_str()),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue