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: 2a8ad18258d3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 402b97fa1eca
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Jan 19, 2020

  1. nixos/version: fix case where .git is a symlink

    Before c9214c3 and
    9d396d2 if .git is symlink the version
    would gracefully default to no git revision. With those changes an
    exception is thrown instead.
    
    This introduces a new function `pathIsGitRepo` that checks if
    `commitIdFromGitRepo` fails without error so we don't have to
    reimplement this logic again and can fail gracefully.
    fpletz committed Jan 19, 2020
    Copy the full SHA
    46773a1 View commit details

Commits on Jan 24, 2020

  1. Merge pull request #78058 from mayflower/nixos/version-gitdir-symlink

    nixos/version: fix case where .git is a symlink
    fpletz authored Jan 24, 2020

    Verified

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