We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The output of haskell-packages/default.nix at the moment looks something like this:
haskell-packages/default.nix
{ nixpkgs ? import <nixpkgs> {} }: with nixpkgs; let ... in callPackage (nixpkgs.path + "/pkgs/development/haskell-modules") { ghc = pkgs.haskell.compiler.ghc843; buildHaskellPackages = buildPackages.haskell.packages.ghc843; ... }
It would be probably nicer if the compiler were another parameter. e.g.:
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc843" }: with nixpkgs; let ... in callPackage (nixpkgs.path + "/pkgs/development/haskell-modules") { ghc = pkgs.haskell.compiler.${compiler}; buildHaskellPackages = buildPackages.haskell.packages.${compiler}; ... }
That way one could more easily reuse the same expression with newer versions of nixpkgs, in particular one where only ghc844 is available.
ghc844
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The output of
haskell-packages/default.nix
at the moment looks something like this:It would be probably nicer if the compiler were another parameter. e.g.:
That way one could more easily reuse the same expression with newer versions of nixpkgs, in particular one where only
ghc844
is available.The text was updated successfully, but these errors were encountered: