nixpkgs/pkgs/build-support
adisbladis ef3ed45c12
nix-gitignore: Optimise performance
There are a few operations in this library that naively runs on every
iteration while they could be cached.

For a simple test repository with a small number of files and ~1000
gitignore patterns this brings memory usage down from ~233M to ~157M
and wall time from 2.6s down to 0.78s.

This should scale similarly with the number of files in a repository.
2020-12-07 14:14:20 +01:00
..
add-opengl-runpath
agda agda: install literate files 2020-06-01 13:59:20 +01:00
alternatives Merge pull request #92412 from matthewbauer/blas-cross 2020-08-15 08:55:57 +02:00
appimage appimage-run: parse readelf's output in C locale 2020-11-24 13:55:04 +01:00
bintools-wrapper lib, binutils: Move Risc-V bfdEmulation to be by the others 2020-11-29 00:03:51 +00:00
build-bazel-package buildBazelPackage: build name from pname/version 2020-10-28 17:55:10 +01:00
build-dotnet-package treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
build-fhs-userenv *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
build-fhs-userenv-bubblewrap buildFHSUserEnvBubblewrap: use arrays for constructing argument list 2020-11-22 19:26:59 +01:00
build-setupcfg
buildenv buildenv: paths to link resolving to the same absolute path is not a conflict 2020-06-10 06:42:48 -03:00
cc-wrapper Merge pull request #96318 from matthewbauer/provide-patchelf-in-native-stdenv 2020-10-30 13:32:13 -05:00
docker dockerTools.binSh: init 2020-12-02 14:57:23 +01:00
dotnetbuildhelpers treewide: pkg-config has targetPrefix 2020-05-16 00:21:21 +00:00
dotnetenv dotnetenv: editorconfig fixes 2020-09-21 08:30:58 +10:00
emacs emacs: Add native builds for nativeComp enabled emacsen 2020-07-24 03:16:17 +02:00
expand-response-params
fetchbitbucket
fetchbower
fetchbzr treewide: replace bazaar with breezy 2020-05-25 09:22:54 +02:00
fetchcvs
fetchdarcs
fetchdocker
fetchfirefoxaddon firefoxaddon: formatting nitpicks 2020-12-02 09:53:53 +01:00
fetchfossil fetchfossil: Depend on cacert 2020-10-24 16:43:05 +05:30
fetchgit nix-prefetch-git: also add store path to json output 2020-05-04 17:43:29 +05:30
fetchgithub
fetchgitiles fetchFromGitiles: init 2019-12-02 22:44:33 +00:00
fetchgitlab fetchgitlab: Escape a few more characters in the revision 2020-09-13 12:34:08 +02:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact add classifier as an argument 2020-12-05 18:56:46 +01:00
fetchmtn
fetchnuget
fetchpatch fetchpatch: Allow using base64-encoded hash 2020-03-02 23:57:40 +01:00
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsvn fetchsvn: Fix for cross 2020-03-09 02:11:45 -04:00
fetchsvnrevision pkgs/*: add final newline to .nix files 2020-11-09 11:39:28 +00:00
fetchsvnssh
fetchurl Merge branch 'master' into fetchurl-no-hash 2020-07-06 14:40:49 -04:00
fetchzip fetchzip: get write permission on unpacked directory 2020-12-04 03:28:00 +00:00
icon-conv-tools
install-shell-files Recover the complicated situation after my bad merge 2020-10-26 09:01:04 +01:00
kernel makeModulesClosuse: read modules from corrent kernel version 2020-08-27 10:48:18 -07:00
libredirect python3Packages.python-engineio: fix build w/glibc-2.32 2020-09-12 23:04:50 +02:00
make-desktopitem make-desktopitem: desktop-file-utils is a nativeBuildInput 2020-11-27 01:17:32 +01:00
make-startupitem
make-symlinks
mkshell
mono-dll-fixer
nix-gitignore nix-gitignore: Optimise performance 2020-12-07 14:14:20 +01:00
nuke-references
ocaml ocamlPackages.buildOasis: fix handling of installation prefix 2020-07-02 07:13:34 +02:00
oci-tools
pkg-config-wrapper Revert "utils.bash: also "fix" cc-wrapper and pkg-config-wrapper" 2020-09-07 16:31:59 +02:00
prefer-remote-fetch
references-by-popularity
release nixos/testing: remove remaining coverage-data logic 2020-09-05 16:07:59 +02:00
remove-references-to
rust Merge pull request #105305 from lopsided98/build-rust-crate-platform-hash 2020-11-29 10:50:25 -05:00
setup-hooks Merge staging-next into staging 2020-11-29 13:51:33 +01:00
singularity-tools utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
skaware skawarePackages.cleanPackaging: copy docFiles before rm noise 2020-05-21 19:46:38 +02:00
snap
src-only srcOnly: rename buildInputs to nativeBuildInputs 2020-04-27 14:31:40 +02:00
substitute
substitute-files
templaterpm
upstream-updater
vm utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
wrapper-common Merge #97597: stdenv wrappers: improve purity checking 2020-09-24 10:58:10 +02:00
writers writers.writeNginxConfig: fix cross-compilation 2020-10-29 21:39:22 -04:00
build-maven.nix
build-pecl.nix php.buildPecl: Allow PECLs to depend on other PECLs 2020-05-09 23:38:21 +02:00
closure-info.nix
dhall-to-nix.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix nixos/systemd.tmpfiles.packages: fix an edge case 2020-08-16 10:23:53 +02:00