Closed haroldcarr closed 8 months ago
Using stack appears to work (but would rather use nix (1st choice) or cabal)
> stack run -- --help
openapi3-code-generator.cabal is up-to-date
Generate Haskell code from OpenAPI 3 specifications
Usage: openapi3-code-generator-exe [--configuration FILEPATH]
[FILEPATH | --specification FILEPATH]
@haroldcarr there's a flake. I use that.
Closing this because the installation is not broken. There's a flake and it builds.
@NorfairKing It would be nice to be able to install via nix (besides building from a flake). But it is marked as broken:
nix-shell -p haskellPackages.openapi3-code-generator
error:
...
error: Package ‘openapi3-code-generator-0.1.0.7’ in /nix/store/nlm3wz58fjzcbf7d9csf2czxmrvsk65k-nixpkgs/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:219920 is marked as broken, refusing to evaluate.
What you're building is a nixpkgs derivation, which means this belongs on the nixpkgs issue tracker.
Thanks for this package.
If I do
cabal install openapi3-code-generator
orNIXPKGS_ALLOW_BROKEN=1 nix-shell -p haskellPackages.openapi3-code-generator
I get compilation error in theOpenAPI
code.Here is the output from using nix. The compile errors from
cabal install
are the same.