[Nix-dev] Getting cabal2nix to add a cabal flag

Peter Simons simons at cryp.to
Thu May 28 23:57:11 CEST 2015


Hi Peter,

 > I'd like to use cabal2nix together with nix-build in a way that my
 > package is configured with `-fmaintainer`. Is there a way to do this?

call cabal2nix with -fmaintainer. I'm citing from the --help output:

    -f FLAG   --flag=FLAG     Cabal flag (may be specified multiple times)

Best regards,
Peter



More information about the nix-dev mailing list