-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Ghc863 add haskellCompilerName and doc output #58114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
such as: error: while evaluating anonymous function at /home/teto/mptcpnetlink/hs/default.nix:1:1, called from /home/teto/mptcpnetlink/hs/shell-test.nix:65:6: while evaluating 'doHaddock' at /home/teto/nixpkgs/pkgs/development/haskell-modules/lib.nix:71:15, called from /home/teto/mptcpnetlink/hs/default.nix:5:1: while evaluating 'overrideCabal' at /home/teto/nixpkgs/pkgs/development/haskell-modules/lib.nix:37:24, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/lib.nix:71:20: while evaluating 'callCabal2nix' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:206:32, called from /home/teto/mptcpnetlink/hs/default.nix:5:24: while evaluating 'callCabal2nixWithOptions' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:191:66, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:206:38: while evaluating 'overrideCabal' at /home/teto/nixpkgs/pkgs/development/haskell-modules/lib.nix:37:24, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:202:10: while evaluating 'callPackageKeepDeriver' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:156:33, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:202:25: while evaluating 'overrideCabal' at /home/teto/nixpkgs/pkgs/development/haskell-modules/lib.nix:37:24, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:157:5: while evaluating 'callPackage' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:114:22, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:157:20: while evaluating 'callPackageWithScope' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:74:37, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:114:28: while evaluating 'makeOverridable' at /home/teto/nixpkgs/lib/customisation.nix:67:24, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:97:8: while evaluating 'drvScope' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:87:18, called from /home/teto/nixpkgs/lib/customisation.nix:69:12: while evaluating the attribute 'installPhase' of the derivation 'cabal2nix-netlink-pm' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:125:7: while evaluating the attribute 'ghc.haskellCompilerName' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:318:5: attribute 'haskellCompilerName' missing, at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:135:32
error: while evaluating the attribute 'NIX_GHC' of the derivation 'ghc-shell-for-netlink-pm-1.0.0' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:301:9: while evaluating 'ghcWithHoogle' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:238:21, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:292:18: while evaluating 'withPackages' at /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:116:18, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:244:10: while evaluating 'callPackageWith' at /home/teto/nixpkgs/lib/customisation.nix:108:35, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:116:28: while evaluating 'makeOverridable' at /home/teto/nixpkgs/lib/customisation.nix:67:24, called from /home/teto/nixpkgs/lib/customisation.nix:112:8: while evaluating anonymous function at /home/teto/nixpkgs/pkgs/development/haskell-modules/with-packages-wrapper.nix:1:1, called from /home/teto/nixpkgs/lib/customisation.nix:69:12: while evaluating 'closePropagation' at /home/teto/nixpkgs/lib/deprecated.nix:160:22, called from /home/teto/nixpkgs/pkgs/development/haskell-modules/with-packages-wrapper.nix:45:57: while evaluating 'uniqList' at /home/teto/nixpkgs/lib/deprecated.nix:91:14, called from /home/teto/nixpkgs/lib/deprecated.nix:160:29: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:98:8: while evaluating 'innerClosePropagation' at /home/teto/nixpkgs/lib/deprecated.nix:143:32, called from /home/teto/nixpkgs/lib/deprecated.nix:160:52: while evaluating 'innerClosePropagation' at /home/teto/nixpkgs/lib/deprecated.nix:143:32, called from /home/teto/nixpkgs/lib/deprecated.nix:151:21: while evaluating 'uniqList' at /home/teto/nixpkgs/lib/deprecated.nix:91:14, called from /home/teto/nixpkgs/lib/deprecated.nix:153:24: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:98:8: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating 'go' at /home/teto/nixpkgs/lib/deprecated.nix:92:18, called from /home/teto/nixpkgs/lib/deprecated.nix:97:27: while evaluating the attribute 'buildPhase' of the derivation 'hoogle-local-0.1' at /home/teto/nixpkgs/pkgs/development/haskell-modules/hoogle.nix:57:3: attribute 'doc' missing, at /home/teto/nixpkgs/pkgs/development/haskell-modules/hoogle.nix:40:10
Note that this is ghc863Binary not ghc863. I'm under the impression it was just used for bootstrapping, although you can probably use it for other things as well. |
As a haskell beginner i don t know the diference between the binary version and other. Is the differznce documented anywhere ? Feel free to ignore if the request isn't valid.
Le 23 mars 2019 06:31:03 GMT+09:00, Matthew Bauer <notifications@github.com> a écrit :
…Note that this is ghc863Binary not ghc863. I'm under the impression it
was just used for bootstrapping, although you can probably use it for
other things as well.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#58114 (comment)
|
The binary versions are downloaded from haskell.org for bootstrapping purposes. Their only purpose is to compile the real compiler from source and they are not supposed to be used for anything else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not give users the impression that pre-built binary compilers ought to be used just like the real ones. That compiler is supposed to bootstrap ghc-8.6.3
and not much else.
👎
I'll close then. thanks for feedback. |
I am trying to use hie with ghc863 as ghc864 is not supported yet but met some problems along the way as ghc863 is missing attributes.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)