Copyright | (c) 2021-2022 berberman |
---|---|
License | MIT |
Maintainer | berberman <berberman@yandex.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module contains a type class ToNixExpr
and some its instances associated with either Haskell
primitive types or our NvFetcher.Types.
Documentation
class ToNixExpr a where Source #
Types can be converted into nix expr
Instances
ToNixExpr Bool Source # | |
ToNixExpr String Source # | |
ToNixExpr PackageResult Source # | nix expr snippet like: feeluown-core = { pname = "feeluown-core"; version = "3.7.7"; src = fetchurl { sha256 = "06d3j39ff9znqxkhp9ly81lcgajkhg30hyqxy2809yn23xixg3x2"; url = "https://pypi.io/packages/source/f/feeluown/feeluown-3.7.7.tar.gz"; }; a = B; }; |
Defined in NvFetcher.NixExpr toNixExpr :: PackageResult -> NixExpr Source # | |
ToNixExpr ExtractSrcQ Source # | |
Defined in NvFetcher.NixExpr toNixExpr :: ExtractSrcQ -> NixExpr Source # | |
ToNixExpr NixExpr Source # | |
ToNixExpr Version Source # | |
ToNixExpr a => ToNixExpr [a] Source # | |
Defined in NvFetcher.NixExpr | |
ToNixExpr a => ToNixExpr (NonEmpty a) Source # | |
ToNixExpr (NixFetcher 'Fresh) Source # | |
Defined in NvFetcher.NixExpr | |
ToNixExpr (NixFetcher 'Fetched) Source # | |
Defined in NvFetcher.NixExpr |