query
On this page

concatScript

pkgs.concatScript

Docs pulled from | This Revision | 21 minutes ago


Writes a text file to nix store with and mark it as executable.

Inputs

name

1. Function argument

files

2. Function argument

Examples

concatScript usage example

# Writes contents of files to /nix/store/<store path>
concatScript "my-file" [ file1 file2 ]

Noogle detected

Implementation

The following is the current implementation of this function.

concatScript = name: files: concatTextFile { inherit name files; executable = true; };