Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 9ce1caa63c9c
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 9ba1f2298285
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 25, 2021

  1. lib/debug: add traceFnSeqN

    Immensely helpful when you want to see the changes a function makes to
    its value as it passes through.
    
    Example:
    
    ```
    $ nix-instantiate --strict --eval -E '(with import ./lib; traceFnSeqN 2 "id" (x: x) { a.b.c = 3; })'
    trace: {
      fn = "id";
      from = {
        a = {
          b = {…};
        };
      };
      to = {
        a = {
          b = {…};
        };
      };
    }
    { a = { b = { c = 3; }; }; }
    ```
    Profpatsch committed Jan 25, 2021
    Copy the full SHA
    41e1314 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #110672 from Profpatsch/lib-add-traceFnSeqN

    lib/debug: add traceFnSeqN
    infinisil committed Jan 25, 2021
    Copy the full SHA
    9ba1f22 View commit details
    Browse the repository at this point in the history