nix-config/lib/misc.nix

12 lines
204 B
Nix

_inputs: _self: super: let
writeText = text: (super.writeText (builtins.hashString "sha256" "${text}") "${text}");
in {
lib =
super.lib
// {
inherit
writeText
;
};
}