https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
5 lines
169 B
Diff
5 lines
169 B
Diff
--- VentoyPlugson.sh
|
|
+++ VentoyPlugson.sh
|
|
@@ -27,0 +28,2 @@ elif echo $machine | egrep -q 'x86_64|am
|
|
+elif echo $machine | egrep -q 'mips64'; then
|
|
+ TOOLDIR=mips64el
|