reflex-dom

Where to put the css file when using obelisk

为君一笑 提交于 2020-01-04 06:04:01
问题 I want to make two div's float side by side using Obelisk. For this I used the information from this post, How to place div side by side and for this solution classes have to be declared in css. Following the advice of this tutorial (https://github.com/hansroland/reflex-dom-inbits/blob/master/tutorial.md), more specifically the part about mainWidgetWithHead, I put the commands in a different file. The problem is, however, that I can't find where the css-file should be stored in order to get

Workarounds for Haskell / cabal packages with constraints with Nix and Cabal?

我与影子孤独终老i 提交于 2019-12-11 02:59:54
问题 I recently got into developing with reflex-platform, with some extra configuration similar to what is described in the excellent reflex-project-skeleton. Now I am having a package conflict that I am unable to resolve. I use the same cabal script as reflex-project-skeleton , which invokes nix-shell in non-interactive mode with a cabal command. If I try ./cabal new-build --allow-newer all I get these derivations will be built: /nix/store/d6ji516i7pry5l6gv18y6hpj9k1bvgg5-heist-1.0.1.0.drv /nix