File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ with pkgs;
99 stripRoot = false ;
1010 } ;
1111
12+ # TODO autoPatchElf is Linux-specific. We need a cross-platform solution.
1213 nativeBuildInputs = [ autoPatchelfHook ] ;
1314
1415 buildInputs = with pkgs ; [
Original file line number Diff line number Diff line change @@ -23,11 +23,13 @@ buildGoModule rec {
2323
2424 postBuild = ''
2525 mkdir -p "$out/lib"
26+ # TODO: The correct binary below should depend on the current OS and CPU
2627 cp "$GOPATH/pkg/mod/github.com/!cosm!wasm/[email protected] /api/libwasmvm.x86_64.so" "$out/lib" 2728 '' ;
2829
2930 postInstall = ''
3031 addAutoPatchelfSearchPath "$out/lib"
32+ # TODO: autoPatchElf is Linux-specific. We need a cross-platform solution
3133 autoPatchelf -- "$out/bin"
3234 '' ;
3335
You can’t perform that action at this time.
0 commit comments