nixpkgs/nixos/modules/misc
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
..
assertions.nix
crashdump.nix
documentation.nix nixos/documentation: Fix disabledModules being rendered 2020-01-09 17:26:08 +01:00
extra-arguments.nix
ids.nix rdf4store: remove pkg and service modules 2019-12-08 20:33:51 +01:00
label.nix
lib.nix
locate.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
meta.nix
nixops-autoluks.nix
nixpkgs.nix
passthru.nix
version.nix nixos/version: fix case where .git is a symlink 2020-01-20 00:53:44 +01:00