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 nixos/modules/misc/crashdump: remove idle=poll (fix #66464) 2019-08-13 16:08:22 -07:00
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 nixos/misc: Fix nixpkgs.config merge function 2019-08-10 20:03:11 +02:00
passthru.nix
version.nix nixos/version: fix case where .git is a symlink 2020-01-20 00:53:44 +01:00