query
On this page

writeScriptBin

pkgs.writeScriptBin

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.

writeScriptBin =
    name: text:
    writeTextFile {
      inherit name text;
      executable = true;
      destination = "/bin/${name}";
    };