Skip to content
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

Add support for cross-compilation with Nix #44

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Add support for cross-compilation with Nix #44

wants to merge 10 commits into from

Commits on Aug 12, 2022

  1. Add basic generic Nix flake config

    Largely taken from https://input-output-hk.github.io/haskell.nix/tutorials/getting-started-flakes.html.
    
    Builds from x86 Linux, for x86 Musl Linux or Windows.
    georgefst committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    71c6555 View commit details
    Browse the repository at this point in the history
  2. Add basic Nix instructions

    georgefst committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    3820899 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c205d4 View commit details
    Browse the repository at this point in the history
  4. Formatting

    georgefst committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    f3995bd View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    f32b194 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08fa95c View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Configuration menu
    Copy the full SHA
    2725c68 View commit details
    Browse the repository at this point in the history
  2. Embed asset files in Nix build

    It turns out files under `extra-source-files` are not found at compile time (`file-embed`) unless they're in `rsc` (and not as symlinks), and known to Git (staging makes a difference, which confused me for a while, e.g. in georgefst/hello-hs@fa41589).
    georgefst committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    814b4cc View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Minor refactor

    georgefst committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    51ce5b4 View commit details
    Browse the repository at this point in the history
  2. Bump flake deps

    This is primarily so that we can remove a dependency on the GPL-licensed libgmp. See https://github.com/input-output-hk/haskell.nix/pull/1784/commits.
    georgefst committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    fb64207 View commit details
    Browse the repository at this point in the history