|
|
|
@ -9,7 +9,7 @@ let |
|
|
|
|
if stdenv.hostPlatform.system == "i686-linux" then "i686" |
|
|
|
|
else if stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin" then "x86-64" |
|
|
|
|
else if stdenv.hostPlatform.system == "armv7l-linux" then "armv7l" |
|
|
|
|
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64" |
|
|
|
|
else if stdenv.hostPlatform.system == "aarch64-linux" || stdenv.hostPlatform.system == "aarch64-darwin" then "aarch64" |
|
|
|
|
else if stdenv.hostPlatform.system == "powerpc64le-linux" then "ppc64le" |
|
|
|
|
else throw "ImageMagick is not supported on this platform."; |
|
|
|
|
in |
|
|
|
|