Research of IFD issue from callCabal2nix #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To setup Haskell project in Nix, we usually use
callCabal2nix(e.g.relago-support). As it is written using Haskell, it's not unusual that we meet IFD (import from derivation) issue from Nix.So, we need to fix it
I found out about
cabal2nixWithoutIFDFound - Native support for import for derivation in Hercules
Figure out how to make IFD work properly
Generate Hackage/LTS nix expressions on the fly rather than have them in the repo
https://github.com/NixOS/nixpkgs/issues/16130#issuecomment-229939552
https://github.com/NixOS/nix/issues/954#issuecomment-365281661
Purely functional metadata-rich derivation poisoning
@xfeusw wrote in #1 (comment):
Researching PureScript because of
cabal2nixWithoutIFD. Besides, researching PureNix too. Because cabal2nixWithoutIFD is written in PureScript and transpiled to Nix via PureNixI should check out Hydra configuration and also should research about allowing IFD in Hydra according to edolstra's comment
github:justinwoo/easy-purescript-nix
https://stackoverflow.com/questions/27968909/how-to-get-cabal-and-nix-work-together