Commit Graph

1672 Commits

Author SHA1 Message Date
IOHK
065734b7f3 Update Hackage and Stackage 2021-08-05 01:13:16 +00:00
IOHK
9d94071566 Update Hackage and Stackage 2021-08-04 01:12:59 +00:00
Hamish Mackenzie
a28099f2f6
Put ifdLevel back to 3 (#1187)
I forgot to bump it back after setting it to 2 in #1184
2021-08-03 13:43:06 +12:00
IOHK
6d0ae5fe2e Update Hackage and Stackage 2021-08-03 01:16:37 +00:00
Rodney Lorrimar
a4234bfaa2
Bump nix-tools to PR input-output-hk/nix-tools#98 branch (#1184)
Adds a fix for this error when regenerating files with `stack-to-nix`:
```
stack-to-nix: .stack-to-nix.cache: openFile: resource busy (file is locked)
```
2021-08-03 12:01:42 +12:00
Sukant Hajra
1992b910e9
fix #1173: have CI build/cache GHC 8.10.4 (#1174)
The idea is to keep 8.10.4 in CI while 8.10.5 is still neither in
- a (non-nightly) Stackage LTS resolver
- upstream Nixpkgs-unstable

Hopefully it isn't long before 8.10.5 is more standard and we can remove
8.10.4 from the IOHK build.

This commit also updates documentation (which seems to have fallen out
of date), with some changes and additions to hopefully make things
easier on first-time readers.
2021-08-02 13:38:28 +12:00
Jean-Baptiste Giraudeau
531c9f4cac
Remove some flake specifics that can mess-up caching. (#1176)
* Remove flake specific sourceOverride that mess-up caching.

* Reduce evalPackages discrepency between flake/non-flake.

* Remove dependency on <nixpkgs> when importing sources.nix
2021-07-28 12:38:03 +12:00
IOHK
97421c99a9 Update Hackage and Stackage 2021-07-27 01:13:51 +00:00
Hamish Mackenzie
9e5d672d13
Update materialization for ghc810420210212 (#1175) 2021-07-26 15:05:24 +12:00
IOHK
850e5e65ee Update Hackage and Stackage 2021-07-26 01:13:12 +00:00
IOHK
4ed57420ed Update Hackage and Stackage 2021-07-25 01:14:08 +00:00
IOHK
5ef948a71d Update Hackage and Stackage 2021-07-24 01:13:12 +00:00
Hamish Mackenzie
755f3cd848
Add ole32 and rpcrt4 stubs (needed to build process package on windows). (#1172) 2021-07-23 18:16:40 +12:00
Rodney Lorrimar
4af96f5d1b
overlays/windows.nix: Workaround for remote-iserv libsodium.dll (#1171)
This will use libsodium-vrf if it exists, otherwise libsodium.

See: https://github.com/input-output-hk/iohk-nix/pull/488
2021-07-23 15:46:04 +12:00
Hamish Mackenzie
674f5b0a3d
Better support for source-repository-packages, only include planned components and pick latest packages (#1166)
This change updates to the latest `nix-tools` to get the following fixes (there are 3 PRs in nix-tools, but just the one in haskell.nix to avoid having to update the materialized files multiple times):

## Better support for source repository packages

* https://github.com/input-output-hk/nix-tools/pull/107

Currently these are replaced by the `cabalProject` functions with regular `packages:` before running cabal configure.  Cabal does not treat these the same (the setting of `tests:` and `benchmarks:` in the `cabal.project` file):

* The plan found by `cabalProject` may not match the one used when running `cabal`.
* The performance of the solver may not be consistent with running `cabal`.

This change replaces `source-repository-package` with another `source-repository-package` pointing at a minimal git repo.

## Only include planned components

* https://github.com/input-output-hk/nix-tools/pull/108

Only the components in the `plan.json` are now included in the haskell.nix cabal projects.  This avoids missing dependencies attempting to build components that were not in the plan.  Should fix #993.

## Pick latest packages

* https://github.com/input-output-hk/nix-tools/pull/109

When the same package occurs more than once in a `plan.json` file (perhaps because it is needed both by the project itself and by one of the `setup` dependencies or `build-tool-dependencies` of the project) the latest version will now be the one picked by haskell.nix. This is a work around for a common issue with `cabal-doctest` when cross compiling to windows (an old version of Win32 is used even if a newer one was required by the projects `constraints`).
2021-07-23 14:27:56 +12:00
IOHK
971014bff8 Update Hackage and Stackage 2021-07-23 01:12:51 +00:00
IOHK
8e1084c2ce Update Hackage and Stackage 2021-07-22 01:13:42 +00:00
IOHK
8c587f90d2 Update Hackage and Stackage 2021-07-21 01:13:47 +00:00
IOHK
dbc2c05cb4 Update Hackage and Stackage 2021-07-20 01:13:13 +00:00
IOHK
f9d261d6d9 Update Hackage and Stackage 2021-07-19 01:12:37 +00:00
IOHK
ac52977939 Update Hackage and Stackage 2021-07-18 01:13:42 +00:00
IOHK
d49f39a73c Update Hackage and Stackage 2021-07-17 01:15:55 +00:00
IOHK
8c54742375 Update Hackage and Stackage 2021-07-16 01:17:02 +00:00
IOHK
6f1ed94db8 Update Hackage and Stackage 2021-07-15 01:12:42 +00:00
IOHK
59e14e256e Update Hackage and Stackage 2021-07-14 01:13:31 +00:00
IOHK
5c6f40beb4 Update Hackage and Stackage 2021-07-13 01:13:23 +00:00
IOHK
bed4c0c674 Update Hackage and Stackage 2021-07-12 01:12:43 +00:00
IOHK
378954151d Update Hackage and Stackage 2021-07-11 01:13:23 +00:00
IOHK
7a908fd120 Update Hackage and Stackage 2021-07-10 01:12:44 +00:00
Moritz Angermann
920ac43ee1
Update system-nixpkgs-map.nix 2021-07-09 15:24:31 +08:00
IOHK
76bfee3d01 Update Hackage and Stackage 2021-07-09 01:13:15 +00:00
IOHK
8a3b3d686a Update Hackage and Stackage 2021-07-08 01:13:04 +00:00
Hamish Mackenzie
61e89b7df5
Simplify the way evalPackages works (#1162)
This change uses the same overlay for both flakes and non flake projects.  It chooses where evalPackages should run based on `builtins ? currentSystem` (`currentSystem` will not exist when building flake).

This will be needed to make sure the `evalPackages` still works correctly in #1151 (otherwise the use of `flake-compat` will cause eval-on-build to be used).
2021-07-07 22:43:19 +12:00
IOHK
551407d11c Update Hackage and Stackage 2021-07-07 01:12:37 +00:00
Hamish Mackenzie
062a0317b6
Check that the library component package.conf.d/*.conf file is created (#956)
Had a strange issue where eval of #955 and it might have been caused
by a the nix-tools library seeming to have no `.conf` files.

Since it seemed to go away by itself I think this was a nix GC issue
or something.  Here is some code we could add to the builders to
double check the files are created if it turns out that is not the
case.

Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
2021-07-06 13:24:17 +12:00
Kirill Kuznetsov
d8f6361282
Fix building sphinx documentation with latest nixpkgs-unstable (#1154) (#1160) 2021-07-06 13:23:35 +12:00
IOHK
f89fd292cc Update Hackage and Stackage 2021-07-06 01:12:54 +00:00
IOHK
87604d524f Update Hackage and Stackage 2021-07-05 01:14:02 +00:00
Kirill Kuznetsov
4a10f52387
Fix typo in hix project (#1161) 2021-07-05 11:16:15 +12:00
IOHK
446619fe9e Update Hackage and Stackage 2021-07-04 01:13:41 +00:00
IOHK
89fa78b8b0 Update Hackage and Stackage 2021-07-03 01:12:32 +00:00
IOHK
5bd0752501 Update Hackage and Stackage 2021-07-02 01:15:13 +00:00
IOHK
f4676832a0 Update Hackage and Stackage 2021-07-01 01:13:44 +00:00
IOHK
81fb54dbfd Update Hackage and Stackage 2021-06-30 01:13:54 +00:00
Hamish Mackenzie
6aabb57e19
Updated ghcjs 8.10 (#1153) 2021-06-30 12:58:28 +12:00
Lupino
ccb0050e70
Postgresql static compile set gssSupport false (#1152)
when i compile with musl and postgresql with the follow error

```
fe-connect.c:445:0: error:
     error: undefined reference to 'gss_delete_sec_context'

fe-connect.c:447:0: error:
     error: undefined reference to 'gss_release_name'

fe-auth.c:76:0: error:
     error: undefined reference to 'gss_display_status'

fe-auth.c:79:0: error:
     error: undefined reference to 'gss_release_buffer'

fe-auth.c:142:0: error:
     error: undefined reference to 'gss_init_sec_context'

fe-auth.c:173:0: error:
     error: undefined reference to 'gss_release_buffer'

fe-auth.c:169:0: error:
     error: undefined reference to 'gss_release_buffer'

fe-auth.c:187:0: error:
     error: undefined reference to 'gss_release_name'

fe-auth.c:180:0: error:
     error: undefined reference to 'gss_release_name'

fe-auth.c:182:0: error:
     error: undefined reference to 'gss_delete_sec_context'

fe-auth.c:234:0: error:
     error: undefined reference to 'GSS_C_NT_HOSTBASED_SERVICE'

fe-auth.c:234:0: error:
     error: undefined reference to 'GSS_C_NT_HOSTBASED_SERVICE'

fe-auth.c:234:0: error:
     error: undefined reference to 'gss_import_name'
```
2021-06-29 14:42:24 +12:00
IOHK
eece78835d Update Hackage and Stackage 2021-06-29 01:13:11 +00:00
Teo Camarasu
3856d2d24d
Improve shellFor selectComponents performance (#1146)
* factor out isSelectedComponent

* Optimise `flatLibDepends`

We no longer force the `outPath` attribute to avoid instantiating the
derivation, which is expensive
2021-06-28 16:46:19 +12:00
IOHK
e72866fdb4 Update Hackage and Stackage 2021-06-28 01:13:11 +00:00
IOHK
3648880358 Update Hackage and Stackage 2021-06-27 01:13:54 +00:00