forked from M-Labs/nix-scripts
conda-windows: fix binutils target handling
This commit is contained in:
parent
d75e222bfc
commit
f464b61290
|
@ -41,7 +41,7 @@ let
|
||||||
set LDFLAGS=-L%PREFIX:\=/%/Library/lib/
|
set LDFLAGS=-L%PREFIX:\=/%/Library/lib/
|
||||||
sh ../configure --build=%TRIPLE% ^
|
sh ../configure --build=%TRIPLE% ^
|
||||||
--prefix="%PREFIX:\=/%/Library" ^
|
--prefix="%PREFIX:\=/%/Library" ^
|
||||||
--target=or1k-linux
|
--target=${target}
|
||||||
if errorlevel 1 exit 1
|
if errorlevel 1 exit 1
|
||||||
|
|
||||||
make -j4
|
make -j4
|
||||||
|
@ -51,7 +51,7 @@ let
|
||||||
if errorlevel 1 exit 1
|
if errorlevel 1 exit 1
|
||||||
|
|
||||||
rem this is a copy of prefixed executables
|
rem this is a copy of prefixed executables
|
||||||
rmdir /S /Q %PREFIX%\Library\or1k-linux
|
rmdir /S /Q %PREFIX%\Library\${target}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
${wfvm.utils.win-exec}/bin/win-exec "mkdir binutils"
|
${wfvm.utils.win-exec}/bin/win-exec "mkdir binutils"
|
||||||
|
|
|
@ -37,7 +37,7 @@ wfvm.makeWindowsImage {
|
||||||
# administratorPassword = "12345";
|
# administratorPassword = "12345";
|
||||||
|
|
||||||
# Imperative installation commands, to be installed incrementally
|
# Imperative installation commands, to be installed incrementally
|
||||||
installCommands = with wfvm.layers; [ anaconda3 msys2 msys2-packages ];
|
installCommands = with wfvm.layers; [ anaconda3 ];
|
||||||
|
|
||||||
# services = {
|
# services = {
|
||||||
# # Enable remote management
|
# # Enable remote management
|
||||||
|
|
Loading…
Reference in New Issue