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

…is removed https://github.com/NixOS/nixpkgs/pull/223577

stdenv.mkDerivation falls back to pname when meta.mainProgram is not set. cabal2nix should follow that and only set mainProgram when it differes from pname.

I wrote https://github.com/NixOS/nixpkgs/pull/212282 as a proposal to centralize this mapping in Nixpkgs. Do you think it is fit for the purpose of cabal2nix? - [ ] review https://github.com/NixOS/nixpkgs/pull/212282 - [...

This address this https://github.com/NixOS/cabal2nix/issues/531 Kind of, it's independent of the dontCheck attribute. If --no-check isn't on but --omit-tests is, then the build will fail with a missing dependency. I'm not...

One common use case for `cabal2nix` is using it to fetch a certain pull request for use as a dependency. However, currently one has to manually translate the PR URL...

The immediate motivation for doing this was that the old `shell.nix` failed with the `nixpkgs` channel that I had installed. While I was fixing this to pin `nixpkgs` I figured...

``` cabal2nix: nix-prefetch-url: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device) ``` No repro yet. M1 macOS.

enableLibraryProfiling = true seems to be the default when I use cabal2nix, can we have an explicit option to set it to false?

enhancement