mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
buildenv: Limit exclusion of info/dir
While trying to exclude a generated `/share/info/dir` in a package from symlinking into a profile, we also ended up excluding the Emacs info manual for `dired-x`. This change excludes only the dir file.
This commit is contained in:
parent
2b356dae62
commit
ef2d657a01
@ -126,7 +126,7 @@ sub findFiles {
|
||||
return if
|
||||
$relName eq "/propagated-build-inputs" ||
|
||||
$relName eq "/nix-support" ||
|
||||
$relName =~ /info\/dir/ ||
|
||||
$relName =~ /info\/dir$/ ||
|
||||
( $relName =~ /^\/share\/mime\// && !( $relName =~ /^\/share\/mime\/packages/ ) ) ||
|
||||
$baseName eq "perllocal.pod" ||
|
||||
$baseName eq "log" ||
|
||||
|
Loading…
Reference in New Issue
Block a user