summary refs log tree commit diff
path: root/pkgs/development/compilers/julia/1.5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/julia/1.5.nix')
-rw-r--r--pkgs/development/compilers/julia/1.5.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/julia/1.5.nix b/pkgs/development/compilers/julia/1.5.nix
index 778a9c3a9d7..be3cfc39635 100644
--- a/pkgs/development/compilers/julia/1.5.nix
+++ b/pkgs/development/compilers/julia/1.5.nix
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
     let
       arch = head (splitString "-" stdenv.system);
       march = {
-        x86_64 = stdenv.hostPlatform.gcc.arch or "x86-64";
+        x86_64 = stdenv.hostPlatform.platform.gcc.arch or "x86-64";
         i686 = "pentium4";
         aarch64 = "armv8-a";
       }.${arch}