copyPathToStore
pkgs.copyPathToStore
Docs pulled from | This Revision | 43 minutes ago
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 } can be shortened to ${}.
Noogle detected
Implementation
This function is implemented in c++ and is part of the native nix runtime.
Implementation
The following is the current implementation of this function.
copyPathToStore = builtins.filterSource (p: t: true);