nixpkgs/nixos
Franz Pletz 46773a15b3
nixos/version: fix case where .git is a symlink
Before c9214c394b and
9d396d2e42 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.
2020-01-20 00:53:44 +01:00
..
doc Merge pull request #77950 from flokli/buildkite-3 2020-01-19 14:23:49 +01:00
lib Merge pull request #77587 from singron/fix-shared 2020-01-19 22:07:31 +01:00
maintainers maintainers/create-azure.sh: run from anywhere 2020-01-09 20:54:28 +00:00
modules nixos/version: fix case where .git is a symlink 2020-01-20 00:53:44 +01:00
tests Merge pull request #77540 from singron/fix-certmgr-test 2020-01-19 19:50:41 +01:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.