summaryrefslogtreecommitdiffstats
path: root/maintainers/scripts/update-dotnet-lockfiles.nix
blob: b8a51d5e92e3a4c75cfc02b2f9b8ba8e51b42eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
  To run:

      nix-shell maintainers/scripts/update-dotnet-lockfiles.nix

  This script finds all the derivations in nixpkgs that have a 'fetch-deps'
  attribute, and runs all of them sequentially. This is useful to test changes
  to 'fetch-deps', 'nuget-to-json', or other changes to the
  dotnet build infrastructure. Regular updates should be done through the
  individual packages update scripts.
*/
{ ... }@args:
import ./update.nix (
  {
    predicate = _: _: true;
    get-script = pkg: pkg.fetch-deps or null;
  }
  // args
)