3synopsis: Convert Cabal files into Nix build instructions.
4category: Distribution, Nix
6homepage: https://github.com/nixos/cabal2nix#readme
7bug-reports: https://github.com/nixos/cabal2nix/issues
72maintainer: Peter Simons <simons@cryp.to>
75tested-with: GHC == 8.2.2, GHC == 8.4.1
80 Convert Cabal files into Nix build instructions. Users of Nix can install the
81 latest version by running:
83 > nix-env -i cabal2nix
87 test/golden-test-cases/*.cabal
88 test/golden-test-cases/*.nix.golden
92 location: https://github.com/nixos/cabal2nix
97 other-extensions: CPP DeriveGeneric FlexibleInstances MultiParamTypeClasses OverloadedStrings RecordWildCards ScopedTypeVariables StandaloneDeriving TemplateHaskell
108 , distribution-nixpkgs >=1.1.1
115 , optparse-applicative
125 Distribution.Nixpkgs.Fetch
126 Distribution.Nixpkgs.Haskell
127 Distribution.Nixpkgs.Haskell.BuildInfo
128 Distribution.Nixpkgs.Haskell.Constraint
129 Distribution.Nixpkgs.Haskell.Derivation
130 Distribution.Nixpkgs.Haskell.FromCabal
131 Distribution.Nixpkgs.Haskell.FromCabal.Configuration
132 Distribution.Nixpkgs.Haskell.FromCabal.Flags
133 Distribution.Nixpkgs.Haskell.FromCabal.License
134 Distribution.Nixpkgs.Haskell.FromCabal.Name
135 Distribution.Nixpkgs.Haskell.FromCabal.Normalize
136 Distribution.Nixpkgs.Haskell.FromCabal.PostProcess
137 Distribution.Nixpkgs.Haskell.Hackage
138 Distribution.Nixpkgs.Haskell.OrphanInstances
139 Distribution.Nixpkgs.Haskell.PackageSourceSpec
142 default-language: Haskell2010
146 hs-source-dirs: cabal2nix
148 build-depends: base, cabal2nix
149 default-language: Haskell2010
151executable hackage2nix
153 hs-source-dirs: hackage2nix
154 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
163 , distribution-nixpkgs >=1.1.1
171 , optparse-applicative
176 default-language: Haskell2010
178test-suite regression-test
179 type: exitcode-stdio-1.0
191 -- TODO: Why does 1K not work any longer?
192 ghc-options: -Wall -with-rtsopts=-K48K
193 default-language: Haskell2010
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list