add copyPathToStore and copyPathsToStore
This commit is contained in:
parent
8baebb55d4
commit
d6bec4e77f
@ -153,4 +153,10 @@ _EOF_
|
|||||||
exec ${bin} "$@"
|
exec ${bin} "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Copy a path to the Nix store.
|
||||||
|
copyPathToStore = builtins.filterSource (p: t: true);
|
||||||
|
|
||||||
|
# Copy a list of paths to the Nix store.
|
||||||
|
copyPathsToStore = builtins.map copyPathToStore;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user