From 594f34664c8bc96de18b5e6a5e3b1e7a8edf8d15 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Sat, 23 Nov 2024 21:08:05 +0800 Subject: [PATCH] Add darwin to EXTRA_SCOPES This makes it possible to search for darwin.* packages using nix-index. Fixes #260 --- src/listings.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/listings.rs b/src/listings.rs index a13a4b5..b72d2d3 100644 --- a/src/listings.rs +++ b/src/listings.rs @@ -23,13 +23,14 @@ use crate::workset::{WorkSet, WorkSetHandle, WorkSetWatch}; // // We only need sets that are not marked "recurseIntoAttrs" here, since if they are, // they are already part of normal_paths. -pub const EXTRA_SCOPES: [&str; 6] = [ +pub const EXTRA_SCOPES: [&str; 7] = [ "xorg", "haskellPackages", "rPackages", "nodePackages", "coqPackages", "texlive.pkgs", + "darwin", ]; /// A stream of store paths (packages) with their associated file listings.