mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
buildDotnetModule: fix handling executables
with an empty list
This commit is contained in:
parent
8d5a3b0992
commit
858f4db304
@ -30,7 +30,8 @@ wrapDotnetProgram() {
|
||||
dotnetFixupHook() {
|
||||
echo "Executing dotnetFixupPhase"
|
||||
|
||||
if [ "${executables-}" ]; then
|
||||
# check if executables is declared (including empty values, in which case we generate no executables)
|
||||
if declare -p executables &>/dev/null; then
|
||||
for executable in ${executables[@]}; do
|
||||
path="${installPath-$out/lib/$pname}/$executable"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user