yarn2nix-0.10.1: Convert yarn.lock files to nix expressions
Safe HaskellNone
LanguageHaskell2010

Distribution.Nixpkgs.Nodejs.Utils

Description

 
Synopsis

Documentation

packageKeyToSymbol :: PackageKey -> Text Source #

Representation of a PackageKey as nix attribute name.

packageKeyNameToSymbol :: PackageKeyName -> Text Source #

Representation of a PackageKeyName as nix attribute name.

attrSetMay :: Text -> Maybe NExpr -> [Binding NExpr] Source #

Return a Binding if Just (or none if Nothing) for mkRecSet and mkNonRecSet.

attrSetMayStr :: Text -> Maybe Text -> [Binding NExpr] Source #

Convenience shortcut for attrSetMay x (mkStr <$> y).