NixHash
mkFileAttrs :: [Path Rel File] -> ReaderT BuilderDirs IO [(Text, NExpr)] Source #
Build a set of filename -> derivation attributes.
filename -> derivation
replaceLeadingDot :: FilePath -> FilePath Source #
A leading dot is illegal in Nix derivation names. Replace it with '_'.