cabal2nix
cabal2nix copied to clipboard
Generate Nix build instructions from a Cabal file
…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?