Commit Graph
1006477 Commits
Author SHA1 Message Date
Alexis Hildebrandt eea9d4abef weaviate-client: 4.20.5 -> 4.21.0 2026-05-26 13:45:11 +02:00
R. Ryantm 4d09512998 terraform-providers.hashicorp_dns: 3.6.0 -> 3.6.1 2026-05-26 11:41:59 +00:00
YtandGitHub 29cc695b5d redpanda-client: 26.1.8 -> 26.1.9 (#524296) 2026-05-26 11:40:20 +00:00
R. Ryantm 96438b6892 pdfarranger: 1.13.0 -> 1.14.0 2026-05-26 11:39:19 +00:00
Maximilian BoschandGitHub 53530cba09 roundcube: 1.7.0 -> 1.7.1 (#523952) 2026-05-26 11:36:35 +00:00
yayaandGitHub fb49005c74 gitlab-runner: 18.11.2 -> 18.11.3 (#519748) 2026-05-26 11:34:26 +00:00
R. Ryantm 69efc45299 air: 1.65.2 -> 1.65.3 2026-05-26 11:18:29 +00:00
R. Ryantm f3190d56f1 got: 0.125 -> 0.126 2026-05-26 11:17:28 +00:00
R. Ryantm eb76434726 interactive-html-bom: 2.11.1 -> 2.11.2 2026-05-26 10:57:04 +00:00
Robert HensingandGitHub 8d10ccfc53 owners: Add @tfc to nixos test driver modules folder (#524366) 2026-05-26 10:34:47 +00:00
Felix BargfeldtandGitHub 0922f564f0 clorinde: 1.4.1 -> 2.0.0 (#524276) 2026-05-26 10:27:08 +00:00
Fabian AffolterandGitHub ba6417ec9a python3Packages.iamdata: 0.1.202605251 -> 0.1.202605261 (#524374) 2026-05-26 10:23:14 +00:00
Fabian AffolterandGitHub eea4c1113f python3Packages.pyyardian: 1.2.0 -> 1.3.3 (#524372) 2026-05-26 10:22:16 +00:00
Fabian AffolterandGitHub e185b4d423 vunnel: 0.57.0 -> 0.58.0 (#524204) 2026-05-26 10:20:38 +00:00
Fabian AffolterandGitHub c875358f28 python3Packages.types-awscrt: 0.31.3 -> 0.33.0 (#524292) 2026-05-26 10:19:44 +00:00
Léo Haf 267a267267 bitcoin-knots: 29.3.knots20260210 -> 29.3.knots20260508 2026-05-26 12:19:39 +02:00
Fabian AffolterandGitHub 848f02a8ee python3Packages.gehomesdk: 2026.2.0 -> 2026.5.1 (#524322) 2026-05-26 10:19:11 +00:00
Fabian AffolterandGitHub 800c51ccfc python3Packages.color-parser-py: migrate to finalAttrs 2026-05-26 12:18:22 +02:00
Fabian AffolterandGitHub f5f8da561d python3Packages.color-operations: migrate to finalAttrs 2026-05-26 12:16:10 +02:00
Fabian AffolterandGitHub a0d758fd0b python3Packages.langchain-google-genai: 4.2.2 -> 4.2.3 (#524358) 2026-05-26 10:14:54 +00:00
R. Ryantm ba98cb39e0 vscode-extensions.llvm-vs-code-extensions.vscode-clangd: 0.4.0 -> 0.6.0 2026-05-26 10:14:04 +00:00
misuzuandGitHub 551c1360ba qsv: 19.1.0 -> 20.1.0 (#524329) 2026-05-26 10:14:04 +00:00
vimlinuz b2e30c549d vimPlugins.black-metal-theme-neovim: init at 2.0
https://github.com/metalelf0/black-metal-theme-neovim

vimPlugins.black-metal-theme-neovim: removed the repeated name
2026-05-26 15:56:26 +05:45
Fabian Affolter d77826870e python314Packages.cyclopts: 4.16.0 -> 4.16.1
Diff: https://github.com/BrianPugh/cyclopts/compare/v4.16.0...v4.16.1

Changelog: https://github.com/BrianPugh/cyclopts/releases/tag/v4.16.1
2026-05-26 12:09:31 +02:00
kirillrdyandGitHub 1e5ab898db faiss: 1.14.1 -> 1.14.2 (#524120) 2026-05-26 10:09:26 +00:00
Jonas ChevalierandGitHub eed9211bb4 lib.sources.sourceByGlobs: init function (#462272) 2026-05-26 10:05:54 +00:00
Fabian Affolter 5fb6914dbe python3Packages.appthreat-vulnerability-db: 6.6.2 -> 6.7.0
Diff: https://github.com/AppThreat/vulnerability-db/compare/v6.6.2...v6.7.0

Changelog: https://github.com/AppThreat/vulnerability-db/releases/tag/v6.7.0
2026-05-26 12:02:27 +02:00
R. Ryantm 147cfdf8ab python3Packages.msprime: 1.4.1 -> 1.4.2 2026-05-26 10:02:09 +00:00
zimbatmandadisbladis df1b67fdfd purescript.tests.minimal-module: use lib.sources.sourceByGlobs
Filter src to the .purs and .js files actually compiled, dropping
default.nix from the closure.
2026-05-26 21:53:50 +12:00
kirillrdyandGitHub 87fcb8ea8b python3Packages.numpy-quaternion: init at 2024.0.13 (#524057) 2026-05-26 09:53:40 +00:00
Luke Granger-BrownandGitHub bf36a43961 prometheus-bird-exporter: 1.4.3 -> 1.4.5 (#516082) 2026-05-26 09:49:51 +00:00
zimbatmandadisbladis 1b47667776 vimPluginsUpdater: use lib.sources.sourceByGlobs
Filter PYTHONPATH source to .py files only, dropping the 6 sibling
.nix files from the closure.
2026-05-26 21:49:00 +12:00
zimbatmandadisbladis edb4b053f5 pkgs.formats.javaProperties: use lib.sources.sourceByGlobs
Uses the cleaner expression
2026-05-26 21:49:00 +12:00
zimbatmandadisbladis 01bdc186ae lib.sources.sourceByGlobs: address review comments 2026-05-26 21:49:00 +12:00
adisbladis 59d55cbaa3 lib.sources.sourceByGlobs: init function
Adds a source filtering function inspired by [doublestar](https://github.com/bmatcuk/doublestar).

This has been in used in a few private repositories since the last ~6 months with success.

- Testing

This was originally tested with the nix-unit testsuite:
```
let
  inherit (import ./internal.nix) mkSourceFilter mkMatcher;
in
{
  mkMatcher = {
    empty = {
      testMatch = {
        expr = mkMatcher "" "" "regular";
        expected = true;
      };

      testNoMatch = {
        expr = mkMatcher "" "foo" "regular";
        expected = false;
      };
    };

    simple = {
      testMatch = {
        expr = mkMatcher "foo" "foo" "regular";
        expected = true;
      };

      testNoMatch = {
        expr = mkMatcher "foo" "bar" "regular";
        expected = false;
      };
    };

    singleStar = {
      testMatch = {
        expr = mkMatcher "*.js" "foo.js" "regular";
        expected = true;
      };

      testNoMatch = {
        expr = mkMatcher "*.js" "foo.py" "regular";
        expected = false;
      };
    };

    doubleStar = {
      testMatch = {
        expr = mkMatcher "foo/**/bar" "foo/baz/bar" "regular";
        expected = true;
      };

      testNoMatch = {
        expr = mkMatcher "foo/**/bar" "foo/bar/baz" "regular";
        expected = false;
      };

      testMultiMatch = {
        expr = mkMatcher "foo/**/bar" "foo/baz/xyz/bar" "regular";
        expected = true;
      };

      testMultiMatchDoubleGlob = {
        expr = mkMatcher "foo/**/**/bar" "foo/baz/xyz/bar" "regular";
        expected = true;
      };

      testInfixMatch = {
        expr = mkMatcher "foo/**/qux/**/bar" "foo/baz/qux/baz/bar" "regular";
        expected = true;
      };

      testInfixNoMatch = {
        expr = mkMatcher "foo/**/xyz/**/bar" "foo/baz/qux/baz/bar" "regular";
        expected = false;
      };

      # Technically a partial match
      testInfixDirMatch = {
        expr = mkMatcher "foo/**/xyz/**/bar" "foo/baz/qux/baz/bar" "directory";
        expected = true;
      };
    };
  };

  mkSourceFilter = {
    testSourceFilter = {
      expr = mkSourceFilter ./fixtures [
        "bar/*.js"
      ] "bar/bar.js" "regular";
      expected = true;
    };
  };
}
```
but it was dropped in this nixpkgs contribution as the structure of nixpkgs lib testing is too primitive to incorp this without more extensive refactoring than I'd like at the momment.

- Performance

It's hard to benchmark this against anything else meaningful except [globsset](https://github.com/pdtpartners/globset), which has a very similar API.

`sourceByGlobs` avoids performance pitfalls by:

  - Using `builtins.filterSource`

      This is more performant than the fileset API.
      The downside compared to the fileset API is that any directory which matches the filter will be added to the build, even if it's empty.

  - Match paths component by component

      By splitting each pattern into a token per / separator.
      This is much faster in Nix than the doublestar algorithm.

- Globset source

```json
{
    "cpuTime": 0.8585879802703857,
    "envs": {
        "bytes": 148252864,
        "elements": 11899843,
        "number": 6631765
    },
    "gc": {
        "heapSize": 402915328,
        "totalBytes": 671288560
    },
    "list": {
        "bytes": 3358664,
        "concats": 28658,
        "elements": 419833
    },
    "nrAvoided": 11562713,
    "nrFunctionCalls": 4816963,
    "nrLookups": 4316209,
    "nrOpUpdateValuesCopied": 5686407,
    "nrOpUpdates": 464060,
    "nrPrimOpCalls": 2966970,
    "nrThunks": 7796186,
    "sets": {
        "bytes": 196404672,
        "elements": 10837802,
        "number": 1437490
    },
    "sizes": {
        "Attr": 16,
        "Bindings": 16,
        "Env": 8,
        "Value": 24
    },
    "symbols": {
        "bytes": 340652,
        "number": 32026
    },
    "values": {
        "bytes": 207367440,
        "number": 8640310
    }
}
```

- Glob-filter source

```json
{
    "cpuTime": 0.3904629945755005,
    "envs": {
        "bytes": 13263440,
        "elements": 1005877,
        "number": 652053
    },
    "gc": {
        "heapSize": 402915328,
        "totalBytes": 146914896
    },
    "list": {
        "bytes": 3032168,
        "concats": 5899,
        "elements": 379021
    },
    "nrAvoided": 1666598,
    "nrFunctionCalls": 484399,
    "nrLookups": 112698,
    "nrOpUpdateValuesCopied": 3432135,
    "nrOpUpdates": 13426,
    "nrPrimOpCalls": 1041954,
    "nrThunks": 1205792,
    "sets": {
        "bytes": 64304800,
        "elements": 3978167,
        "number": 40883
    },
    "sizes": {
        "Attr": 16,
        "Bindings": 16,
        "Env": 8,
        "Value": 24
    },
    "symbols": {
        "bytes": 285306,
        "number": 28864
    },
    "values": {
        "bytes": 42963240,
        "number": 1790135
    }
}
```
2026-05-26 21:48:59 +12:00
Rémi NICOLEandGitHub 60dd3b28f0 knewave: use installFonts (#523796) 2026-05-26 09:41:44 +00:00
Fabian AffolterandGitHub 8c7a7542c1 python3Packages.aiolichess: 1.2.0 -> 1.3.0 (#524375) 2026-05-26 09:39:15 +00:00
Weijia WangandGitHub 5a1bed9680 python3Packages.eigenpy: 3.12.0 -> 3.13.0 (#523923) 2026-05-26 09:39:00 +00:00
Fabian AffolterandGitHub 98352fe2f0 python3Packages.pyyardian: modernize 2026-05-26 11:37:12 +02:00
Bruno BELANYIandGitHub 71b6c3bf34 upsies: 2026.05.14 -> 2026.05.24 (#524282) 2026-05-26 09:33:10 +00:00
Fabian Affolter 9c526e0077 python3Packages.iamdata: 0.1.202605251 -> 0.1.202605261
Diff: https://github.com/cloud-copilot/iam-data-python/compare/v0.1.202605251...v0.1.202605261

Changelog: https://github.com/cloud-copilot/iam-data-python/releases/tag/v0.1.202605261
2026-05-26 11:29:58 +02:00
Eric Rodrigues Pires 18ccf74b16 sandhole: 0.9.4 -> 0.9.5 2026-05-26 06:29:22 -03:00
nixpkgs-ci[bot]andGitHub 9f7fdd3a43 gemini-cli: 0.42.0 -> 0.43.0 (#524359) 2026-05-26 09:28:33 +00:00
nixpkgs-ci[bot]andGitHub 4ddabe8496 vivaldi: 8.0.4033.26 -> 8.0.4033.34 (#524344) 2026-05-26 09:28:29 +00:00
nixpkgs-ci[bot]andGitHub df5303e7c0 netgen-vlsi: 1.5.319 -> 1.5.320 (#524313) 2026-05-26 09:28:23 +00:00
nixpkgs-ci[bot]andGitHub 7b62391d9c tsukimi: 0.21.0 -> 26.5.3 (#524300) 2026-05-26 09:28:22 +00:00
nixpkgs-ci[bot]andGitHub 8fc5885235 gefyra: 2.4.3 -> 2.4.4 (#523493) 2026-05-26 09:27:51 +00:00
K900andGitHub 99737c6d9b Revert "scx.cscheds: move env variable into env for structuredAttrs" (#524373) 2026-05-26 09:24:34 +00:00
R. Ryantm e7d163b4e6 python3Packages.aiolichess: 1.2.0 -> 1.3.0 2026-05-26 09:23:57 +00:00
K900andGitHub 520c7a1e49 Revert "scx.cscheds: move env variable into env for structuredAttrs" 2026-05-26 12:19:21 +03:00