Skip to content

Docs improvements #171

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

Merged
merged 2 commits into from
Jun 12, 2019
Merged

Docs improvements #171

merged 2 commits into from
Jun 12, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Jun 10, 2019

  • Dev note about nixpkgs pin
  • More information about selecting a GHC version for cabal projects @nomeata.
  • A little bit more information about cross compiling, but this is still incomplete.

@rvl rvl added this to the Beta Release milestone Jun 10, 2019
@rvl rvl self-assigned this Jun 10, 2019
project = import ./default.nix;
pkgs = import <nixpkgs> {};
native = import project { inherit pkgs; };
crossRasperryPi = import project { pkgs = pkgs.pkgsCross.raspberryPi; };
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yey, another nixpkgs indirection. Not sure if being explicit in using import <nixpkgs> { crossSystem = ...; } would be better. I'm always afraid that those abstractions make it even harder for someone new to nix to understand what is going on :-/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah maybe, the pkgsCross thing is pretty magic. I have changed it to use crossSystem and added an explanation.

@rvl rvl merged commit b4b18ed into master Jun 12, 2019
@rvl rvl deleted the rvl/docs branch June 12, 2019 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants