From 45c70e496f9cd6cd733bcc6578f353ce304a52d8 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Wed, 13 Jun 2018 16:34:50 -0400 Subject: [PATCH] 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 --- pkgs/development/compilers/ghcjs-ng/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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;