cabal2nix-2.5: Convert Cabal files into Nix build instructions.

Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Haskell.FromCabal.Name

Synopsis

Documentation

toNixName :: PackageName -> Identifier Source #

Map Cabal names to Nix attribute names.

libNixName :: String -> [Identifier] Source #

Map library names specified in Cabal files to Nix package identifiers.

TODO: This list should not be hard-coded here; it belongs into the Nixpkgs repository.

TODO: Re-use hook matching system from PostProcess.hs here.

buildToolNixName :: String -> [Identifier] Source #

Map build tool names to Nix attribute names.