nix-freeze-tree-0.1.0.1: Convert a tree of files into fixed-output derivations
Safe HaskellNone
LanguageHaskell2010

NixHash

Synopsis

Documentation

mkFileAttrs :: [Path Rel File] -> ReaderT BuilderDirs IO [(Text, NExpr)] Source #

Build a set of filename -> derivation attributes.

replaceLeadingDot :: FilePath -> FilePath Source #

A leading dot is illegal in Nix derivation names. Replace it with '_'.