You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
My understanding is that a haskell.nix Flake does not work in exactly the same way on Mac and Linux. Based on this comment #1401 (comment) and some testing, it looks like a haskell.nix Flake can be used on both Mac and Linux by:
modifying evalSystem
the --impure flag
or
having a system with both Mac and Linux builders
Describe the solution you'd like
The haskell.nix Flake in this project https://github.com/input-output-hk/cicero-pipe appears to use a fourth solution. nix build and nix develop run on Mac and Linux, without using any of the three solutions above. I have tested this on an amd64-linux and amd64-mac.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
My understanding is that a
haskell.nix
Flake does not work in exactly the same way on Mac and Linux. Based on this comment #1401 (comment) and some testing, it looks like ahaskell.nix
Flake can be used on both Mac and Linux by:evalSystem
--impure
flagor
Describe the solution you'd like
The
haskell.nix
Flake in this project https://github.com/input-output-hk/cicero-pipe appears to use a fourth solution.nix build
andnix develop
run on Mac and Linux, without using any of the three solutions above. I have tested this on anamd64-linux
andamd64-mac
.The key may be the materialization: https://github.com/input-output-hk/cicero-pipe/tree/master/nix/materialized
Can the approach taken in the
cicero-pipe
Flake be copied into thehaskell.nix
Flake template, to improve the ease-of-use of the Flake template?Additional context
Discussion about
builtins.currentSystem
: #1401Thank you for this project,
haskell.nix
has been very useful to me!The text was updated successfully, but these errors were encountered: