mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
buildDotnetModule: respect self-contained setting in restore
This commit is contained in:
parent
4219a94158
commit
aa0289eda4
@ -24,6 +24,12 @@ dotnetConfigureHook() {
|
||||
local -r parallelFlag="--disable-parallel"
|
||||
fi
|
||||
|
||||
if [[ -n ${dotnetSelfContainedBuild-} ]]; then
|
||||
dotnetRestoreFlagsArray+=("-p:SelfContained=true")
|
||||
else
|
||||
dotnetRestoreFlagsArray+=("-p:SelfContained=false")
|
||||
fi
|
||||
|
||||
dotnetRestore() {
|
||||
local -r projectFile="${1-}"
|
||||
for runtimeId in "${dotnetRuntimeIdsArray[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user