(searchQuery = val)} onOpenImport={() => (showImportModal = true)} onOpenNewDetour={() => (showNewDetourModal = true)} onExportJson={handleExportJson} onRefresh={() => reloadLocalData(true)} />
{#if Object.keys(loadErrors).length > 0} {/if}

Active Detours

Single packages taking a detour from nixpkgs (held back while broken, fixed with patches, or running ahead from open PRs) until upstream catches up.

{#if isLocalApi}
Live Sync
{:else if !loading}
Preview Mode
{/if}
{allItems.length} active {allItems.length === 1 ? 'package' : 'packages'}
{ currentFilter = f; }} /> {#if allItems.length > 0}
Showing {sortedAndFilteredItems.length} of {allItems.length} packages {#if searchQuery || currentFilter !== 'all'} {/if}
{/if} {#if loading}
Loading detours…
{:else if allItems.length === 0}

No detours found

There are no held packages or PR detours in this repository yet.

{:else if sortedAndFilteredItems.length === 0}

No detours match your filter

Try clearing your search query or switching categories.

{:else if viewMode === 'grid'}
{#each sortedAndFilteredItems as item (item.id)} (selectedItem = selected)} onRelease={handleReleaseDetour} onTagClick={(tag) => (searchQuery = tag)} /> {/each}
{:else} (selectedItem = selected)} onRelease={handleReleaseDetour} onTagClick={(tag) => (searchQuery = tag)} /> {/if}
{#if selectedItem} (selectedItem = null)} /> {/if} {#if showImportModal} (showImportModal = false)} /> {/if} {#if showNewDetourModal} (showNewDetourModal = false)} onCreateDetour={handleCreateDetour} canPin={isLocalApi} /> {/if}
nix-detour · declarative package holds · kleinbem fleet
{#if toast}
{toast.message}
{/if}