Daan Rijks

Results 24 issues of Daan Rijks

Looking at the [Haddocks for 3.5.9.0](https://hackage.haskell.org/package/esqueleto-3.5.9.0/docs/Database-Esqueleto.html#v:rand): > Deprecated: Since 2.6.0: [rand](https://hackage.haskell.org/package/esqueleto-3.5.9.0/docs/Database-Esqueleto.html#v:rand) ordering function is not uniform across all databases! To avoid accidental partiality it will be removed in the next...

Instead of copying the subdir, we now instruct cabal2nix to focus on the subdir using `--subpath`, so that if the build depends on anything outside the subdir, that's still available....

In `stack.yaml` I have something like: ```yaml - git: https://github.com/tensorflow/haskell.git commit: 925c2e95151c0ea1592c26b51a5d98e4ca4a2fe7 subdirs: - tensorflow - tensorflow-proto ``` I see that this leads to a different `src` derivation for each...

Similar story to #38 - it's this `fetchgit` call again: https://github.com/cdepillabout/stacklock2nix/blob/22676dfc45fa1c33899ba1da1a23665172a18ba7/nix/build-support/stacklock2nix/default.nix#L381-L386 An example where this breaks things is [libjwt-typed](https://github.com/marcin-rzeznicki/libjwt-typed/), where the `cbits` subdir has a submodule with header files etc....

Minimal repro here: https://gist.github.com/isomorpheme/514b826ca0f9bf2ee28aa5ca27863d8b Running `nix build` on that flake will produce an error like ``` error: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available) … while...

I'm trying to use `hoistServerWithContext` with an API type that uses `MultipartForm`, and it seems to require explicitly specifying the `LookupContext` constraint on the context. If there's objections to making...

Copied from https://github.com/haskell/error-messages/pull/180, see there for some previous discussion.

In haskell/error-messages#100 I only did an example where both names are imported qualified, but I think the error would also be triggered by something like ```hs module Greeting (W.greeting, greeting)...

error-message-index-improvements

See e.g. haskell/error-messages#65 where there's two possible solutions, so as a workaround I made `before/Main1.hs` and `before/Main2.hs` which are identical, but `after/Main1.hs` and `after/Main2.hs` which are different.

error-message-index-site