You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is harder to use nix-shell to reproduce Haskell build problems, because of the following:
nix-shell appears to have inconsistent behavior, which is contrary to what is described on its manpage:
The command nix-shell will build the dependencies of the specified derivation, but
not the derivation itself. It will then start an interactive shell in which all
environment variables defined by the derivation path have been set to their
corresponding values, and the script $stdenv/setup has been sourced. This is useful
for reproducing the environment of a derivation for development.
Specifically -- there appears to be no easy way to have both of the following:
build inputs available
*Phase variables set
Granted, the Haskell version of the mandate goes somewhat beyond the letter (but not the spirit) of the above description, since we also expect the build inputs not just being assigned to environment variables, but also registered within the GHC package data base.
Issue description
It is harder to use
nix-shell
to reproduce Haskell build problems, because of the following:nix-shell
appears to have inconsistent behavior, which is contrary to what is described on its manpage:Specifically -- there appears to be no easy way to have both of the following:
*Phase
variables setGranted, the Haskell version of the mandate goes somewhat beyond the letter (but not the spirit) of the above description, since we also expect the build inputs not just being assigned to environment variables, but also registered within the GHC package data base.
Steps to reproduce
cc @peti
The text was updated successfully, but these errors were encountered: