forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Nix build to be based on cabal (IntersectMBO#2659)
This moves to basing the haskell.nix build on cabal. This meant I had to fix a bunch of solver issues and then compilation issues due to missing bounds etc, which is fine; but it also means that the stack build will tend to go out of date. (There are a bunch of `allow-newer`s etc. in our `cabal.project`. It would be good not to need those, but that's future work.) Also, irritatingly the packge sets generated by haskell.nix from cabal are *not* platform-independent. E.g. the musl one doesn't have terminfo. So to keep using materialization we may need to have multiple sets of files for different systems. Fortunately: 1. Hamish showed me how to persuade Nix to generate the materialized files as if you were on a different system: this allows us to write an `updateMaterialized` that updates all platforms. 2. Linux/Darwin are actually the same, only musl differs slightly. If we could stop disabling `terminfo` on musl, even that would disappear. So it's not *too* bad.
- Loading branch information
Showing
168 changed files
with
10,159 additions
and
854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
nix/stack.materialized/*.nix | ||
nix/pkgs/haskell/materialized*/*.nix | ||
nix/sources.nix | ||
**/spago-packages.nix | ||
**/packages.nix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.