-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
Apparently there is some dependencies on |
@Jimbo4350 also did some work on this: https://github.com/input-output-hk/cardano-shell/tree/jordan/nix-build-unix-windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything green!
the build commands work, except the cross-compilation
bors try |
bors try harder |
please, bors try |
|
rebased, regenerated nix files, update iohk-nix, and force pushed! |
are you sure it's just cross that doesn't work @CodiePP? Hydra paints a pretty bleak picture: https://hydra.iohk.io/jobset/Cardano/cardano-shell-pr-83#tabs-jobs |
Ahh ... lovely:
🤔 |
I knew this sounded vaguely familiar: input-output-hk/haskell.nix#78 Guess I'll have to look into this now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cross-compilation now successful
nix build -f release.nix nix-tools.libs.x86_64-pc-mingw32-cardano-shell.x86_64-linux
The build doesn't work for me:
|
@ksaric how are you building it? You need the |
It's on the first line of the comment above, using stack. |
@CodiePP The "pure" Nix build is working using |
Ah, yes, good point - you can use something like the stack-shell.nix |
Then in
|
Oh, looks like you have that already, but it's different from ours and maybe doesn't have external dependencies |
Signed-off-by: Alexander Diemand <[email protected]>
Signed-off-by: Alexander Diemand <[email protected]>
Signed-off-by: Alexander Diemand <[email protected]>
Signed-off-by: Alexander Diemand <[email protected]>
Signed-off-by: Alexander Diemand <[email protected]>
Signed-off-by: Alexander Diemand <[email protected]>
@CodiePP |
@jbgi When running stack (
|
To allow stack to pick git for user environnement. (waiting for input-output-hk/haskell.nix#121 for a better fix.
@ksaric thanks, I missed that due to not trying from a fresh checkout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 nix build -f release.nix nix-tools.libs.x86_64-pc-mingw32-cardano-shell.x86_64-linux
works! 🆗
👍 stack build --nix
works! 🆗
💯
bors r+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stack builds, but we are waiting for #83 (comment) to be able to enable pure stack builds, right?
Otherwise LGTM, it builds 🎉
nix-shell is not functional yet.