summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2016-02-19 08:40:33 -0800
committerJohn Ericson <Ericson2314@Yahoo.com>2016-02-21 10:16:13 -0800
commit51b66ed4d918a795af55ae50de05fd0cb4b19a38 (patch)
treeabdd779d0457b592e152b9a42befe7a916d7ea95 /pkgs/development/compilers
parent114cd6765d9a1dc405af223294657b9e765a6f3d (diff)
downloadnixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar.gz
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar.bz2
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar.lz
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar.xz
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.tar.zst
nixlib-51b66ed4d918a795af55ae50de05fd0cb4b19a38.zip
haskell: Add notion of cross compiler and define nativeGhc with it
Tested to not change hashes
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghcjs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghcjs/default.nix b/pkgs/development/compilers/ghcjs/default.nix
index 3aca5f239192..722c3eab10ae 100644
--- a/pkgs/development/compilers/ghcjs/default.nix
+++ b/pkgs/development/compilers/ghcjs/default.nix
@@ -118,8 +118,8 @@ in mkDerivation (rec {
   '';
   passthru = {
     inherit bootPkgs;
+    isCross = true;
     isGhcjs = true;
-    nativeGhc = ghc;
     inherit nodejs ghcjsBoot;
   };