diff options
author | Profpatsch <mail@profpatsch.de> | 2016-03-01 15:26:01 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-03-01 15:26:35 +0100 |
commit | 82fa1a796b1e8be27e5c02bc00c6cdba06b26693 (patch) | |
tree | 1b729a693f8a60e850c57b34ac98d8c29b705947 /pkgs/build-support | |
parent | 69237f371c65088674dba440c447476d853e99ab (diff) | |
download | nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar.gz nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar.bz2 nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar.lz nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar.xz nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.tar.zst nixlib-82fa1a796b1e8be27e5c02bc00c6cdba06b26693.zip |
lib/copyPathToStore: annotate docstring
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/trivial-builders.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 6cd82adf8e70..93b8b1cbc428 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -157,6 +157,9 @@ rec { ''; # Copy a path to the Nix store. + # Nix automatically copies files to the store before stringifying paths. + # If you need the store path of a file, ${copyPathToStore <path>} can be + # shortened to ${<path>}. copyPathToStore = builtins.filterSource (p: t: true); # Copy a list of paths to the Nix store. |