query
On this page

writeScript

pkgs.writeScript

Docs pulled from | This Revision | 10 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.

writeScript =
    name: text:
    writeTextFile {
      inherit name text;
      executable = true;
    };