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/nix
base: 5633c0975b9d
Choose a base ref
...
head repository: NixOS/nix
compare: 0e7f77a59a90
Choose a head ref
  • 2 commits
  • 30 files changed
  • 1 contributor

Commits on May 29, 2020

  1. Remove TreeInfo

    The attributes previously stored in TreeInfo (narHash, revCount,
    lastModified) are now stored in Input. This makes it less arbitrary
    what attributes are stored where.
    
    As a result, the lock file format has changed. An entry like
    
        "info": {
          "lastModified": 1585405475,
          "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
        },
        "locked": {
          "owner": "NixOS",
          "repo": "nixpkgs",
          "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
          "type": "github"
        },
    
    is now stored as
    
        "locked": {
          "owner": "NixOS",
          "repo": "nixpkgs",
          "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
          "type": "github",
          "lastModified": 1585405475,
          "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
        },
    
    The 'Input' class is now a dumb set of attributes. All the fetcher
    implementations subclass InputScheme, not Input. This simplifies the
    API.
    
    Also, fix substitution of flake inputs. This was broken since lazy
    flake fetching started using fetchTree internally.
    edolstra committed May 29, 2020
    Copy the full SHA
    950b468 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0e7f77a View commit details
    Browse the repository at this point in the history