Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
distribution-nixpkgs Distribution.Nixpkgs.Meta Representation of platform(s) as supported by nixpkgs:
- NixpkgsPlatformGroup represents the name of a platform list as found in lib.platforms. For example, at the time of writing NixpkgsPlatformGroup "darwin" would represent the platform tuples x86_64-darwin, aarch64-darwin, i686-darwin and armv7a-darwin. Naturally, this is subject to change as nixpkgs updates lib.platforms.
- NixpkgsPlatformSingle indicates a single platform tuple represented using Cabal's Platform.
>>> pPrint $ NixpkgsPlatformSingle $ Platform X86_64 NetBSD "x86_64-netbsd"
For NixpkgsPlatformGroup we assume that the lib attribute set is in scope:>>> pPrint $ NixpkgsPlatformGroup $ ident # "riscv" lib.platforms.riscv
NixpkgsPlatformGroup :: Identifier -> NixpkgsPlatformdistribution-nixpkgs Distribution.Nixpkgs.Meta Identifier of the attribute name of a platform group in nixpkgs' lib.platforms.
NixpkgsPlatformSingle :: Platform -> NixpkgsPlatformdistribution-nixpkgs Distribution.Nixpkgs.Meta Single platform represented as a Cabal platform. Can be understood as equivalent to Nix's system strings and will be converted to one usually.
badPlatforms :: Lens' Meta (Maybe (Set NixpkgsPlatform))distribution-nixpkgs Distribution.Nixpkgs.Meta No documentation available.
hydraPlatforms :: Lens' Meta (Maybe (Set NixpkgsPlatform))distribution-nixpkgs Distribution.Nixpkgs.Meta No documentation available.
nixpkgsPlatformFromString :: String -> Maybe NixpkgsPlatformdistribution-nixpkgs Distribution.Nixpkgs.Meta Obtain a NixpkgsPlatform from a string representation intended for config files.
- Every string starting with lib.platforms. or platforms. is parsed into NixpkgsPlatformGroup.
- All other strings are attempted to be interpreted as a nix(pkgs) style system tuple and parsed into NixpkgsPlatformSingle.
>>> nixpkgsPlatformFromString "x86_64-netbsd" Just (NixpkgsPlatformSingle (Platform X86_64 NetBSD)) >>> nixpkgsPlatformFromString "platforms.riscv" Just (NixpkgsPlatformGroup (Identifier "riscv")) >>> nixpkgsPlatformFromString "garbage" Nothing
platforms :: Lens' Meta (Maybe (Set NixpkgsPlatform))distribution-nixpkgs Distribution.Nixpkgs.Meta No documentation available.
unFormat :: Format -> ByteStringdjot Djot.AST No documentation available.
jsonParserForDef :: ETypeDef -> Stringelm-bridge Elm.Json Compile a JSON parser for an Elm type definition
jsonParserForType :: EType -> Stringelm-bridge Elm.Json Compile a JSON parser for an Elm type