From 2312523ab389cf6e5800ca7b9f7a368ccb964b97 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Wed, 1 Nov 2023 22:38:48 +0100 Subject: lib.fileset: Add an additional argument in the design docs --- lib/fileset/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/fileset') diff --git a/lib/fileset/README.md b/lib/fileset/README.md index ebe13f08fdef8..16ab58e2f2663 100644 --- a/lib/fileset/README.md +++ b/lib/fileset/README.md @@ -225,6 +225,9 @@ Arguments: This use case makes little sense for files that are already in the store. This should be a separate abstraction as e.g. `pkgs.drvLayout` instead, which could have a similar interface but be specific to derivations. Additional capabilities could be supported that can't be done at evaluation time, such as renaming files, creating new directories, setting executable bits, etc. +- (+) An API for filtering/transforming Nix store paths could be much more powerful, + because it's not limited to just what is possible at evaluation time with `builtins.path`. + Operations such as moving and adding files would be supported. ### Single files -- cgit 1.4.1