Commit Graph

2223 Commits

Author SHA1 Message Date
iko
9755ab715e
Added readme 2022-08-02 13:29:41 +03:00
iko
d48b367c1d
Auto rebase
fix

Update rebase.yaml

Add email

Force everything

track master

Auto rebase

fix

Update rebase.yaml

Add email

Force everything

track master

Only cron
2022-08-02 13:29:41 +03:00
iko
c42d5c56be
specialize aggressively 2022-08-02 13:27:30 +03:00
iko
c82a0063b3
Enabled fast-weak for reflex 2022-08-02 13:27:30 +03:00
iko
cc35ee60ea
Patched GHCJS 8.10 2022-08-02 13:27:30 +03:00
Hamish Mackenzie
1ccfd295aa
Support native bignum (including static builds) (#1569)
Co-authored-by: Mikaela Allan <mikaela@vitalbio.com>
Co-authored-by: Travis Whitaker <pi.boy.travis@gmail.com>
2022-08-02 17:42:17 +12:00
IOHK
2f49f0a0c6 Update Hackage and Stackage 2022-08-02 01:16:20 +00:00
Jean-Baptiste G
df62d93a7b
devshell: remove non-derivation from packages list add missing binutils. (#1571) 2022-08-01 23:59:11 +12:00
Hamish Mackenzie
ce047883ac
Fix tool functions (#1570) 2022-08-01 23:57:29 +12:00
IOHK
33ac5a137d Update Hackage and Stackage 2022-08-01 01:17:28 +00:00
Hamish Mackenzie
c2f14344f1
Add ghc 9.2.4 (#1566) 2022-07-31 21:41:50 +12:00
IOHK
6d0177f8f7 Update Hackage and Stackage 2022-07-31 01:16:35 +00:00
IOHK
279f8dd11a Update Hackage and Stackage 2022-07-30 01:17:05 +00:00
Hamish Mackenzie
5341ac4a65
Avoid using srcOnly (#1563)
New versions of `srcOnly` pass the `prePatch` hook in and we `cd` into the sub directory for the package in that hook.  This means that the output includes only the package subdirectory.

We worked around this, but the work around breaks for older nixpkgs where `prePatch` is not passed.

This change replaces the use of `srcOnly` and instead uses the same trick as source so that the `buildPhase` is replaced and runs in the expected source directory (including and it should still include any sibling directories that have not been filtered).
2022-07-29 19:23:39 +12:00
Hamish Mackenzie
3025de7f1a
Fix nix-tools for ghc 8.6.4 and 8.6.3 (#1562) 2022-07-29 17:05:23 +12:00
IOHK
df2147dcf5 Update Hackage and Stackage 2022-07-29 01:16:57 +00:00
Jean-Baptiste G
7c0a91eab2
devshell: provide stdenv native deps (#1560)
should fix devshell for darwin, which should depends on
 clang and not gcc.
2022-07-29 11:26:25 +12:00
Yvan Sraka
98b1edc73b
Add mapping to Cabal extra-libraries: bcrypt (#1561)
https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/

N.B. The `BCryptGenRandom` symbol is provided by MinGW `bcrypt.h` and needed by
https://github.com/yvan-sraka/greetings (and I guess any project relying on
Rust `std`) when cross-compiling to `x86_64-w64-mingw32`
2022-07-29 09:33:37 +12:00
Hamish Mackenzie
a443611ecf
Add evalSystem and evalPackages project args (#1546)
This adds a way to specify the `evalSystem` or `evalPackages` explicitly when calling the `project` functions.

Currently if we want to make a `flake` that supports multiple systems we have few options:

* Require builders for all the supported systems (even just for `nix flake show`).

* Pass `--impure` so that haskell.nix can see `builtins.currentSystem` to set up `pkgs.evalPackages` to use that.  Unfortunately this prevents nix from caching some of the work it does and often results in it recalculating for each supported system when it would otherwise be cached and take no time at all.

* Add an overlay to replace `evalPackages`.  This works, but it is not straight forward.

* Materialize the nix files for the project.

This change allows `evalSystem = "x86_64-linux";` to be passed telling `haskell.nix` to run `cabal` and `nix-tools` on that system.  The user will have to have a builder for that system, but does not need to have builders for the others (unless building outputs for them).
2022-07-28 20:03:05 +12:00
IOHK
7f02c057e6 Update Hackage and Stackage 2022-07-28 07:38:07 +00:00
Hamish Mackenzie
a368a8f959
Fix union version range bug (#1556)
* Fix union version range bug

Needed to fix hackage updates (see https://github.com/input-output-hk/nix-tools/pull/117).

* Update materialization
2022-07-28 19:22:28 +12:00
Yvan Sraka
e3397e0ace
Turn off trace messages (when checkMaterialization is disabled) to not bother user (#1555) 2022-07-27 09:10:13 +12:00
IOHK
a32961b724 Update Hackage and Stackage 2022-07-26 01:15:57 +00:00
IOHK
b25a25f40c Update Hackage and Stackage 2022-07-25 01:25:07 +00:00
IOHK
926818e9d3 Update Hackage and Stackage 2022-07-24 01:30:19 +00:00
IOHK
4c3974e856 Update Hackage and Stackage 2022-07-23 01:31:08 +00:00
IOHK
3a81e80d9a Update Hackage and Stackage 2022-07-22 01:16:57 +00:00
IOHK
a25983e8ab Update Hackage and Stackage 2022-07-21 01:31:05 +00:00
IOHK
fbd32c9c44 Update Hackage and Stackage 2022-07-20 01:24:07 +00:00
Samuel Evans-Powell
0dca71e2f3
Improve coverage reports (#1548)
* Provide an empty coverage report when package has no coverage

- When covering a project with multiple packages, the project coverage report
  will produce a table of individual coverage reports for each package. The
  links in this table don't go anywhere when a package is uncovered (they are
  broken links).
  - By producing an empty coverage report when a package has no coverage, we fix
    the broken links, and provide a tad more information about the coverage
    state of that package.

* Improve project coverage report index page

- Provide a link to the union/all coverage report.
- Format the reports as a list instead of a table of one column.
- Provide better explanation of what each report means.

* Add warning explaining modules with no coverage

- Modules that have no coverage at all are simply not included in the HTML
  reports generated by HPC.
- Add a warning to the project coverage report index page so users are aware of
  this limitation of HPC.

* Simplify interface of coverageReport

- Remove the concept of "package boundaries" from the "coverageReport" function.
- The "coverageReport" is now a function of:
  - arbitrary checks generating tix files
  - arbitrary mix modules
- This more closely reflects the usage of hpc, which doesn't care about package
  boundaries.
- Use this new "coverageReport" function to simplify the "projectCoverageReport"
  implementation. A project coverage report now simply:
  - copies out constituent coverage reports.
  - writes out an "all coverage report" using all checks in the project and all
    mix modules..
  - writes out a summary index page.
2022-07-19 19:40:41 +12:00
Jean-Baptiste G
80082aebba
Add missing deps to devshell overlay, remove cabalWrapper (#1549)
since it needs custom shell setup and knowledge not wanted/necessary for
 many project. cabalWrapper can still be used from iohk-nix, until
 underlying issue is handled natively by cabal.

 Also remove packagesExes materialization attributes,
 not really useful anymore, given faster evaluation of recent haskell.nix
2022-07-19 19:16:35 +12:00
IOHK
e0b5d9dbc1 Update Hackage and Stackage 2022-07-19 01:53:26 +00:00
IOHK
8955cbd1e1 Update Hackage and Stackage 2022-07-18 01:15:09 +00:00
Hamish Mackenzie
4e01f34543
Add nixpkgs-2205 and update other nixpkgs pins (#1506) 2022-07-17 18:18:19 +12:00
IOHK
41ea384502 Update Hackage and Stackage 2022-07-17 01:35:20 +00:00
IOHK
2b68ab788d Update Hackage and Stackage 2022-07-16 01:34:55 +00:00
IOHK
a9130c2c4d Update Hackage and Stackage 2022-07-15 01:21:04 +00:00
IOHK
ca93a5aec5 Update Hackage and Stackage 2022-07-14 01:54:56 +00:00
IOHK
1d8ca8b15d Update Hackage and Stackage 2022-07-13 02:04:25 +00:00
Robert Hensing
f9090d21d7
check.nix: Don't cd when src is from srcOnly (#1542) 2022-07-13 12:25:27 +12:00
IOHK
66ae51e640 Update Hackage and Stackage 2022-07-12 01:23:17 +00:00
IOHK
6fd5f3ce0b Update Hackage and Stackage 2022-07-11 01:17:17 +00:00
IOHK
ae94d26a33 Update Hackage and Stackage 2022-07-10 01:16:29 +00:00
IOHK
76d714fb6a Update Hackage and Stackage 2022-07-09 01:47:35 +00:00
IOHK
3dadce6f09 Update Hackage and Stackage 2022-07-08 01:19:45 +00:00
IOHK
4bec9cf2b1 Update Hackage and Stackage 2022-07-07 01:53:27 +00:00
Chua Hou
5d5d471409
Set meta.mainProgram for executable components (#1539)
- This allows nix run to work correctly, so that it knows the correct
  name of the executable, as it would otherwise attempt to execute an
  executable named "project-name-exe-exeName", for example.
- See #1231.
2022-07-06 23:25:58 +12:00
IOHK
278367ad80 Update Hackage and Stackage 2022-07-06 01:16:36 +00:00
IOHK
3e46b71d6a Update Hackage and Stackage 2022-07-05 01:14:27 +00:00
Sascha-Oliver Prolic
00fc9204fa
add glew (#1534)
* add glew

* move glew

* move glew to GL and GLU
2022-07-04 09:59:57 +01:00