cabal2nix
cabal2nix copied to clipboard
Generate Nix build instructions from a Cabal file
Cabal 3 supports multiple public libraries in a single package (and support is hopefully coming to hackage soon (https://github.com/haskell/hackage-server/issues/852)), it would be great if cabal2nix (and hackage2nix) would support such...
See discussion in https://github.com/NixOS/nixpkgs/pull/90143 In short, I would like to be able to pin nixpkgs's `agdaPackages` to version 2.6.1. I had hoped that adding `Agda == 2.6.1` to `extra-packages` in...
Our final target is to use this in `stack2nix`, this PR depends on https://github.com/peti/hackage-db/pull/9 so I guess we'll need `hackage-db` bounds updated when it will get merged
something like --hoogle would be useful when generating shell.nix
The behavior reported in https://github.com/NixOS/nixpkgs/issues/9438 is puzzling and should be documented.
In my `default.nix`, I have a derivation like this: ``` src = pkgs.nix-gitignore.gitignoreSource [".git/" "*.nix"] ./.; generatedNix = pkgs.runCommand "pkg-default.nix" {} '' cp -r ${src}/* . cp -r ${builtins.path {...
Building a package with "src = ./." can fail if the "dist" directory has been set-up outside of Nix
If I use `cabal2nix` to generate a `default.nix` for the current directory `./.`, and I have a `dist` directory hanging around, that directory gets included in the `source`. This later...
EDIT: The thread starts matching the subject at https://github.com/NixOS/cabal2nix/issues/442#issuecomment-595954664. The prior messages are about a concrete error that lead to this conversation. I'll leave the original bug report in place...
Neither the readme nor `cabal2nix --help` include an example of what a git URL looks like, and for some reason I have the hardest time remembering. Could one of these...
Hi, would it be possible to add a --default-compiler option to tell cabal2nix the default compiler I'd like to use, when outputting the `shell.nix` file? I.e. the `compiler ? "default"...