sternenseemann
sternenseemann
Multiple outputs are an optimization offered by the nix package manager which is used in nixpkgs to try to reduce the amount of data needing to be downloaded (which is...
If cabal has some kind of pkg-config support, that'd be ideal, otherwise we'll probably have to add a setup hook for this.
This is a development repository. You can obtain a well-tested and stable version of cabal2nix alongside useful tools like `callCabal2nix` and a well maintained Haskell package set from nixpkgs (whereas...
I'm pretty sure this is due to a limitation in which we parse cabal files, i. e. we can't resolve flags at all. I'd have to check what the state...
I don't see any `build-depends` being included despite under a conditional, can you elaborate?
Yeah, you're right. I've checked for real this time and `cabal2nix` completely ignores frameworks. This makes sense since cabal2nix doesn't factor the host platform into account at all, so adding...
`hfsevents` has a hard coded post processing filter which adds the framework: https://github.com/NixOS/cabal2nix/blob/3d9f69c17bbb82546d747906a83dbf0c2ddfa0d5/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs#L351-L357 Unfortunately emitting conditionals is not as simple as you are outlining — we need to consider cross...
There's ongoing work (which has stalled a bit for the moment) to migrate the haskell4nix manual to the nixpkgs manual in content and overhaul the structure as well as adding...
I'm still inclined to think that this is a Cabal bug as well, `Setup.hs copy` should not install things that are not supposed to be installed.
I think we should drop postprocessing in `cabal2nix` as much as possible (which is completely, I believe) for the following reasons: * Post processing hooks are very intransparent; Even I...