-
Notifications
You must be signed in to change notification settings - Fork 5
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
georgefst
wants to merge
10
commits into
master
Choose a base branch
from
nix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Aug 12, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 71c6555 - Browse repository at this point
Copy the full SHA 71c6555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3820899 - Browse repository at this point
Copy the full SHA 3820899View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c205d4 - Browse repository at this point
Copy the full SHA 2c205d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3995bd - Browse repository at this point
Copy the full SHA f3995bdView commit details
Commits on Aug 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f32b194 - Browse repository at this point
Copy the full SHA f32b194View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08fa95c - Browse repository at this point
Copy the full SHA 08fa95cView commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2725c68 - Browse repository at this point
Copy the full SHA 2725c68View commit details -
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).
Configuration menu - View commit details
-
Copy full SHA for 814b4cc - Browse repository at this point
Copy the full SHA 814b4ccView commit details
Commits on Nov 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 51ce5b4 - Browse repository at this point
Copy the full SHA 51ce5b4View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for fb64207 - Browse repository at this point
Copy the full SHA fb64207View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.