Armando Ramirez

Results 49 comments of Armando Ramirez

Context on the commit I pushed: Our CI builds were intermittently failing due to the reload tests timing out. On my local machine, at a timeout of around 1300ms, it...

I am pretty sure that code will result in multiple threads sharing connections. * `withResource` will hand over a connection * `async` will spawn a thread & that thread will...

`zlib` seems to be one library affected by this. It lists `z` in its `extra-libraries`. One way it seems to manifest: Cross-compiling things that depend on `zlib` to Windows fails...

Bumping to ghc 9.2.3 fixed some extra library propagation - I no longer have to manual copy `libgcc_s_seh-1.dll` and `mcfgthread-12.dll` alongside my exe :+1: ```diff -cp $(nix-build --no-out-link --expr '(import...

Looking at @michaelpj 's code again, it looks the API I want already basically exists: ``` modules = [ ( {pkgs, ...}: # do the overriding ) ]; ``` I...

https://gitlab.haskell.org/ghc/ghc/-/issues/18556 I found this ticket of ghc proper generating this same error

https://gitlab.com/macaroni.dev/gamedev-scratch/-/blob/c15e324e7c44ac2eb85f209e20851dbae4c32b75/ludum-dare/48/splice-for-windows.sh My current workaround is to isolate my TH and structure the files in such a way that I can automatically munge the splices back in as valid Haskell. Luckily...

@angerman I don't see where `haskell.nix` would be hooking the SDL stuff to iserv automatically. Do you mean that I need to do something to add to `setupBuildFlags` with `-L`...

Some ideas after sitting with this: - I could write an overlay for `remote-iserv` to do the same thing with SDL2's dlls as [the hard-coded list of libraries](https://github.com/input-output-hk/haskell.nix/blob/19052d83fda811dd39216e3fc197c980abd037fd/overlays/windows.nix#L65-L87). This seems...

@angerman I caused this error to go away by moving/copying (both work) `SDL2.dll` to its derivation's `lib` directory from its `bin` directory. Makes sense - now `remote-iserv` can find it....