query
On this page

writeTextDir

pkgs.writeTextDir

Docs pulled from | This Revision | 15 minutes ago


or https://nixos.org/manual/nixpkgs/unstable/#trivial-builder-text-writing


Noogle detected

Implementation

The following is the current implementation of this function.

writeTextDir = path: text: writeTextFile {
    inherit text;
    name = builtins.baseNameOf path;
    destination = "/${path}";
  };