Commit Graph
1005388 Commits
Author SHA1 Message Date
yayaandGitHub d17c41910d sieve-editor-gui: Pin nodejs to nodejs22 (#477694) 2026-05-26 14:12:52 +00:00
Pavol RusnakandGitHub 92e8302877 bitcoin-knots: 29.3.knots20260210 -> 29.3.knots20260508 (#519753) 2026-05-26 14:06:13 +00:00
2b76436a65 sieve-editor-gui: Pin nodejs to nodejs22
Co-authored-by: Gergő Gutyina <gutyina.gergo.2@gmail.com>
2026-05-26 16:06:13 +02:00
Doron BeharandGitHub 137bf1304c {libqalculate, qalculate-gtk, qalculate-qt}: 5.10.0 -> 5.11.0 (#524093) 2026-05-26 13:52:44 +00:00
dotlambdaandGitHub a942a42f11 dracut: 059 -> 111 (#512485) 2026-05-26 13:44:55 +00:00
dotlambdaandGitHub 7762d2700c dcmtk: 3.6.9 -> 3.7.0 (#524222) 2026-05-26 13:39:44 +00:00
nixpkgs-ci[bot]andGitHub 4d62e28e11 seanime: 3.8.2 -> 3.8.3 (#524331) 2026-05-26 13:22:59 +00:00
nixpkgs-ci[bot]andGitHub 910c05b172 mdtsql: 0.1.0 -> 0.2.0 (#524269) 2026-05-26 13:22:53 +00:00
nixpkgs-ci[bot]andGitHub 91e15a3bcd pixi: 0.68.1 -> 0.69.0 (#524211) 2026-05-26 13:22:51 +00:00
nixpkgs-ci[bot]andGitHub e0220065ec pv-migrate: 3.3.0 -> 3.4.0 (#524099) 2026-05-26 13:22:43 +00:00
nixpkgs-ci[bot]andGitHub ddcfc6a3a0 kiro-cli: 2.3.0 -> 2.4.1 (#523987) 2026-05-26 13:22:35 +00:00
nixpkgs-ci[bot]andGitHub 44f0e05319 proton-pass-cli: 2.0.2 -> 2.1.0 (#523962) 2026-05-26 13:22:20 +00:00
Michele Guerini RoccoandGitHub b012b7c207 nixos/containers: fix default gateway with privateNetwork (v2) (#524281) 2026-05-26 13:21:55 +00:00
nixpkgs-ci[bot]andGitHub d1cca0c9be trdsql: 1.1.0 -> 1.2.1 (#523903) 2026-05-26 13:21:52 +00:00
nixpkgs-ci[bot]andGitHub e5a68d310a pixi-pack: 0.7.8 -> 0.7.9 (#523717) 2026-05-26 13:21:49 +00:00
nixpkgs-ci[bot]andGitHub 07a031b6d6 ast-grep: 0.42.1 -> 0.42.3 (#521184) 2026-05-26 13:21:08 +00:00
Gaétan LepageandGitHub 97581bc7ab python3Packages.nvidia-cutlass-dsl: init at 4.5.0 (#522219) 2026-05-26 13:10:51 +00:00
Gaetan Lepage 1a4f8bb9de python3Packages.nvidia-cutlass-dsl[-libs-base]: init at 4.5.0 2026-05-26 13:05:34 +00:00
Gaétan LepageandGitHub 5ff973b4c8 python3Packages.submitit: cleanup, skip failing test on darwin (#524088) 2026-05-26 13:03:10 +00:00
Gaétan LepageandGitHub b65ce3cefd python3Packages.tinygrad: 0.12.0 -> 0.13.0 (#524124) 2026-05-26 12:57:50 +00:00
Heitor AugustoandGitHub ad02d1703f cosmic-ext-applet-sysinfo: 0-unstable-2026-05-14 -> 0-unstable-2026-05-20 (#523696) 2026-05-26 12:34:56 +00:00
TomaandGitHub bd7967a26d several: unify electron-builder logic (#524070) 2026-05-26 12:31:47 +00:00
Kerstin HummandGitHub 90e103778c vouch-proxy: 0.45.1 -> 0.47.2 (#522857) 2026-05-26 12:15:20 +00:00
Stefan FrijtersandGitHub 9a8b8a00eb zod: move env variables into env (#524007) 2026-05-26 11:51:13 +00:00
YtandGitHub 29cc695b5d redpanda-client: 26.1.8 -> 26.1.9 (#524296) 2026-05-26 11:40:20 +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
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 a0d758fd0b python3Packages.langchain-google-genai: 4.2.2 -> 4.2.3 (#524358) 2026-05-26 10:14:54 +00:00
misuzuandGitHub 551c1360ba qsv: 19.1.0 -> 20.1.0 (#524329) 2026-05-26 10:14:04 +00: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
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