summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-06-09 19:45:46 -0400
committerGitHub <noreply@github.com>2018-06-09 19:45:46 -0400
commit1aaab72291394d2aee14818f819e22974026426c (patch)
treee4da776ec0cc8e9ddf687f995cf57129ba9a7d5d /pkgs
parent72fe3d7b082f646c5ce546a7a3304ad3ea990350 (diff)
downloadnixlib-1aaab72291394d2aee14818f819e22974026426c.tar
nixlib-1aaab72291394d2aee14818f819e22974026426c.tar.gz
nixlib-1aaab72291394d2aee14818f819e22974026426c.tar.bz2
nixlib-1aaab72291394d2aee14818f819e22974026426c.tar.lz
nixlib-1aaab72291394d2aee14818f819e22974026426c.tar.xz
nixlib-1aaab72291394d2aee14818f819e22974026426c.tar.zst
nixlib-1aaab72291394d2aee14818f819e22974026426c.zip
ghcjs-ng: fixup system tuple
on i686-linux, the libexec dir should be /libexec/i386-linux-ghc-8.2.2 not /libexec/i686-linux-ghc-8.2.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/ghcjs-ng/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs-ng/default.nix
index 04c3431f6f23..6e883aeafe83 100644
--- a/pkgs/development/compilers/ghcjs-ng/default.nix
+++ b/pkgs/development/compilers/ghcjs-ng/default.nix
@@ -50,7 +50,7 @@ let
   };
 
   bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;
-  libexec = "${bootGhcjs}/libexec/${builtins.replaceStrings ["darwin"] ["osx"] stdenv.system}-${passthru.bootPkgs.ghc.name}/${bootGhcjs.name}";
+  libexec = "${bootGhcjs}/libexec/${builtins.replaceStrings ["darwin" "i686"] ["osx" "i386"] stdenv.system}-${passthru.bootPkgs.ghc.name}/${bootGhcjs.name}";
 
 in stdenv.mkDerivation {
     name = bootGhcjs.name;