diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-03-01 08:38:07 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-03-01 08:38:07 -0600 |
commit | bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896 (patch) | |
tree | 1b729a693f8a60e850c57b34ac98d8c29b705947 /pkgs/build-support | |
parent | 69237f371c65088674dba440c447476d853e99ab (diff) | |
parent | 82fa1a796b1e8be27e5c02bc00c6cdba06b26693 (diff) | |
download | nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar.gz nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar.bz2 nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar.lz nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar.xz nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.tar.zst nixlib-bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896.zip |
Merge pull request #13592 from Profpatsch/copyPathToStore-doc
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. |