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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9ce1caa63c9c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
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
  2. Merge pull request #110672 from Profpatsch/lib-add-traceFnSeqN

    lib/debug: add traceFnSeqN
    infinisil authored Jan 25, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9ba1f22 View commit details
Loading