buildDotnetModule: fix cross compilation
This commit is contained in:
parent
051f3f948f
commit
0d8b21b3c8
@ -94,9 +94,13 @@ in stdenvNoCC.mkDerivation (args // {
|
||||
dotnetInstallHook
|
||||
dotnetFixupHook
|
||||
|
||||
dotnet-sdk
|
||||
cacert
|
||||
makeWrapper
|
||||
dotnet-sdk
|
||||
];
|
||||
|
||||
makeWrapperArgs = args.makeWrapperArgs or [ ] ++ [
|
||||
"--prefix LD_LIBRARY_PATH : ${dotnet-sdk.icu}/lib"
|
||||
];
|
||||
|
||||
# Stripping breaks the executable
|
||||
|
@ -53,7 +53,7 @@
|
||||
dotnetFixupHook = callPackage ({ }:
|
||||
makeSetupHook {
|
||||
name = "dotnet-fixup-hook";
|
||||
deps = [ dotnet-runtime makeWrapper ];
|
||||
deps = [ dotnet-runtime ];
|
||||
substitutions = {
|
||||
dotnetRuntime = dotnet-runtime;
|
||||
runtimeDeps = lib.makeLibraryPath runtimeDeps;
|
||||
|
@ -1,6 +1,6 @@
|
||||
declare -a projectFile testProjectFile
|
||||
|
||||
# inherit arguments from derivation
|
||||
# Inherit arguments from derivation
|
||||
dotnetFlags=( ${dotnetFlags[@]-} )
|
||||
dotnetRestoreFlags=( ${dotnetRestoreFlags[@]-} )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user