Commit 61f6a44
committed
M9.R.15q.6.4: kwin recipe-eval avoid walking 33k /nix/store entries
The M9.R.15q.6.3 kwin recipe walked /nix/store via walkDir to find
the wayland-protocols + libdisplay-info nix-stub paths. /nix/store has
~33k entries on the eli-wsl smoke host; the walkDir + per-entry
'extractFilename' + 'in' string check stalled provider-compile for
minutes before any cmake action even started.
Switch to two narrow walkPattern globs ('/nix/store/*-wayland-protocols-*'
and '/nix/store/*-libdisplay-info-*') so the recipe-eval probe only
opens entries that already match the prefix. Filters out .drv /
.tar.xz / .tar.gz / .patch siblings the glob still picks up.1 parent fb07bb9 commit 61f6a44
1 file changed
Lines changed: 26 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
460 | 474 | | |
461 | 475 | | |
462 | 476 | | |
| |||
0 commit comments