3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support
Teo Klestrup Röijezon 5eec83eb83 buildRustCrate: Fix include filter
buildRustCrate has a handy `include` helper, that only imports those whitelisted
files and folders to the store.

However, the function's matching logic is broken and includes all files,
regardless of whether or not they're whitelisted, as long as the whitelist
contains at least one name (regardless of whether that name exists). This is
because it doesn't take into account that
`lib.strings.removePrefix "foo" "bar" == "bar"` (that is, paths that don't match
the prefix are passed straight through).
2019-03-25 15:24:42 +01:00
..
agda agda: use exec in agdaWrapper 2018-12-07 21:37:19 -05:00
appimage appimageTools: init 2019-02-23 21:04:21 +01:00
bintools-wrapper Fix alpha-embedded Target on Hydra (#55725) 2019-02-19 22:36:00 -05:00
build-bazel-package bazel-remote: init at 2019-01-12 2019-03-11 11:10:59 +01:00
build-dotnet-package
build-fhs-userenv buildFHSEnv: allowSubstitutes = false 2019-02-08 00:27:40 +00:00
build-setupcfg
buildenv Merge #55420: buildEnv, substituteAll: disable binary cache 2019-02-22 13:57:01 +01:00
cc-wrapper Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
docker dockerTools.buildImage.runAsRoot: preserve layers ordering at image unpacking 2019-03-12 12:04:22 +01:00
dotnetbuildhelpers
dotnetenv
emacs emacs: Link subdirs.el into emacs-packages-deps 2019-02-02 15:37:13 +02:00
expand-response-params
fetchbitbucket all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker
fetchfossil
fetchgit prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
fetchgithub all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchgitlab all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchgitlocal
fetchgx
fetchhg prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
fetchipfs prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
fetchmavenartifact
fetchmtn
fetchnuget
fetchpatch
fetchrepoorcz all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchrepoproject
fetchs3
fetchsavannah all-packages: move fetch* to pkgs/build-support/ 2019-01-26 22:47:54 -05:00
fetchsvn fetchsvn: move defaults to package file 2019-02-03 15:33:14 +00:00
fetchsvnrevision
fetchsvnssh fetchsvnssh: move defaults to package file 2019-02-03 15:30:27 +00:00
fetchurl mirrorx.nix: add https and http mirrors for gcc 2019-02-16 01:26:31 +00:00
fetchzip
icon-conv-tools
kernel
libredirect libredirect: set install_name on Darwin 2018-11-14 00:05:26 +01:00
make-desktopitem
make-startupitem
make-symlinks
mkshell
mono-dll-fixer
nix-gitignore nix-gitignore: init at v3.0.0 (#46112) 2019-02-18 09:57:30 +00:00
nix-prefetch-github nix-prefetch-github: 2.1 -> 2.2 2019-02-28 22:02:54 +01:00
nuke-references
ocaml ocamlPackages.buildDunePackage: fix meta.platforms 2018-11-30 16:19:03 +00:00
prefer-remote-fetch prefer-fetch-remote: an overlay to fetch on remote builders 2019-01-18 14:41:10 +00:00
references-by-popularity references-by-popularity: cache computation to avoid memory bloat 2019-03-05 16:37:52 -05:00
release treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00
remove-references-to
rust buildRustCrate: Fix include filter 2019-03-25 15:24:42 +01:00
setup-hooks auto-patchelf: don't use grep -q, as it causes Broken pipe (#56958) 2019-03-20 14:57:59 +02:00
singularity-tools treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00
skaware build-support/skaware: factor out clean packaging utils 2019-02-25 10:34:16 +01:00
src-only
substitute substituteAll: allowSubstitutes = false; 2019-02-07 22:20:42 +00:00
substitute-files substituteAllFiles: allowSubstitutes = false 2019-02-08 00:22:51 +00:00
templaterpm Compare to None using identity is operator 2018-10-30 21:30:56 +01:00
upstream-updater
vm treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00
wrapper-common
writers lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
build-maven.nix buildMaven: Support metadata-only dependencies 2018-11-29 17:29:59 +00:00
build-pecl.nix
closure-info.nix nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
dhall-to-nix.nix
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00