cabal2nix icon indicating copy to clipboard operation
cabal2nix copied to clipboard

Generate Nix build instructions from a Cabal file

Results 92 cabal2nix issues
Sort by recently updated
recently updated
newest added

I'm not sure if cabal2nix is supposed to work with bitbucket/mercurial. I'm getting the following output: ```shell $ cabal2nix --compiler=ghcjs https://bitbucket.org/rubenmoor/react-flux-servant % Total % Received % Xferd Average Speed Time...

enhancement

Hackage contains a package called `type`. We cannot easily generate an attribute for that package, however, because `type` has a special meaning for Nix and it will be evaluated eagerly...

bug

I didn't find reference to this issue, so I wanted to ask it as broadly as possible: is there an intention to better support cabal flags such as compiler version...

enhancement

`hlibgit2` probably has an illegitimate dependency on `self.git`. https://github.com/NixOS/cabal2nix/pull/227 fixes this problem partially: it adds the proper system dependency, but the underlying issue that `hackage2nix` makes a wrong choice here...

bug

All executables that use [optparse-applicative](http://hackage.haskell.org/package/optparse-applicative) for their command-line parsing can dump a bash completion file for themselves. We use that for `stack` and `cabal2nix` and others already, but we configure...

enhancement

It'd be great if files generated by cabal2nix included a comment at the top saying exactly how you could _regenerate_ this file in an unambiguous way. e.g. ``` # This...

enhancement

The `default-package-overrides` section in `configuration-hackage2nix.yaml` should not be used for Stackage packages. We have a comment saying so, but code that asserts this at `hackage2nix` run-time would probably be better.

enhancement

`hackage2nix` has the know-how to decide that some package `foo` cannot compile (on a certain platform), because it depends on some other package `bar` that doesn't compile (on that platform)....

enhancement

[`Flags.hs`](https://github.com/NixOS/cabal2nix/blob/master/distribution-nixpkgs/src/Distribution/Nixpkgs/Haskell/FromCabal/Flags.hs) assigns builds mandatory flag choices. After finalization, we can see the complete flag assignment, and it shouldn't happen that flags are hard-coded in the configuration which the Cabal file...

enhancement