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: 9e9fec640eda
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: b75aff720241
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 10, 2019

  1. lib: add shortcuts for fake hashes (fakeSha256, fakeSha512)

    Fake hashes can be used as placeholders for all the places, where
    Nix expression requires a hash, but we don't yet have one.
    
    This should be more convenient than following:
    - echo|sha256sum, copy into clipboard, go to editor, paste into previously
      edited place
    - search nixpkgs for a random package, copy it's hash to cliboard, go to
      editor, paste into previously edited place
    
    Nix can add support for these fake hashes. In that case printed error should contain
    only 1 hash, so no more problem "which of two hashes from error should I use?"
    
    Idea by irc:Synthetica
    danbst committed Jan 10, 2019
    Copy the full SHA
    68a6b47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #53754 from danbst/lib-fake-hashes

    lib: add fake hashes
    Mic92 committed Jan 10, 2019
    Copy the full SHA
    b75aff7 View commit details
    Browse the repository at this point in the history