about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-06-13 16:34:50 -0400
committerGitHub <noreply@github.com>2018-06-13 16:34:50 -0400
commit45c70e496f9cd6cd733bcc6578f353ce304a52d8 (patch)
treec3764686973151ea5cabc6745b0128940bbfe809
parentf0f385ae7604d100ce23950cb1e847e347d3b866 (diff)
downloadnixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar.gz
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar.bz2
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar.lz
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar.xz
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.tar.zst
nixlib-45c70e496f9cd6cd733bcc6578f353ce304a52d8.zip
ghcjs-ng: add haskellCompilerName attribute
This is needed by some old code in Nixpkgs. Adding it here will fix some eval errors.

/cc @ElvishJerricco

Fixes #41943
-rw-r--r--pkgs/development/compilers/ghcjs-ng/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs-ng/default.nix
index 6e883aeafe83..dda414620e0b 100644
--- a/pkgs/development/compilers/ghcjs-ng/default.nix
+++ b/pkgs/development/compilers/ghcjs-ng/default.nix
@@ -47,6 +47,8 @@ let
     # Relics of the old GHCJS build system
     stage1Packages = [];
     mkStage2 = _: {};
+
+    haskellCompilerName = "ghcjs";
   };
 
   bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;