minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/build-support/dotnet/build-dotnet-module/hooks
References a public code-forge URLRuns find to enumerate regular files
SHA-256522d3e224a3a553ced061e024e7641b7c410db680729ec53d59196260081f852
MaleculeH₂(CmF)
Evidence
1# For compatibility, convert makeWrapperArgs to an array unless we are using
2# structured attributes. That is, we ensure that makeWrapperArgs is always an
3# array.
4# See https://github.com/NixOS/nixpkgs/blob/858f4db3048c5be3527e183470e93c1a72c5727c/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-fixup-hook.sh#L1-L3
5# and https://github.com/NixOS/nixpkgs/pull/313005#issuecomment-2175482920
6if [[ -z $__structuredAttr …
7:21… ( ${makeWrapperArgs-} )
8fi
9
10# First argument is the executable you want to wrap,
11# the second is the destination for the wrapper.
12wrapDotnetProgram …
94:32… $executable" "$out/bin/$executableBasename" \;
95 done < <(find "$dotnetInstallPath" ! -name "*.dll" -executable -type f -print0)
96 fi
97}
98
99if [[ -z "${dontFixup-}" && -z "${dontDotnetFixup-}" ]]; then
100 appendToVar preFixupPhases dotnetFixupHook …