The nixpkgs repository has several utility functions to manipulate Nix expressions.
functions/library.md functions/generators.section.md functions/debug.section.md functions/prefer-remote-fetch.section.md functions/nix-gitignore.section.md functions/fileset.section.md