nvfetcher-0.4.0.0: Generate nix sources expr for the latest version of packages
Copyright(c) 2021 berberman
LicenseMIT
Maintainerberberman <[email protected]>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

NvFetcher.NixExpr

Description

This module contains a type class ToNixExpr and some its instances associated with either Haskell primitive types or our NvFetcher.Types.

Synopsis

Documentation

type NixExpr = Text Source #

Nix expression

class ToNixExpr a where Source #

Types can be converted into nix expr

Methods

toNixExpr :: a -> NixExpr Source #

Instances

Instances details
ToNixExpr Bool Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr String Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr ExtractSrcQ Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr NixExpr Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr Version Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr a => ToNixExpr [a] Source # 
Instance details

Defined in NvFetcher.NixExpr

Methods

toNixExpr :: [a] -> NixExpr Source #

ToNixExpr a => ToNixExpr (NonEmpty a) Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr (NixFetcher 'Fresh) Source # 
Instance details

Defined in NvFetcher.NixExpr

ToNixExpr (NixFetcher 'Fetched) Source # 
Instance details

Defined in NvFetcher.NixExpr