nixpkgs-suyu/nixos/modules/misc
elseym c9214c394b
lib.commitIdFromGitRepo: support git-worktree
lib.commitIdFromGitRepo now resolves the refs from the
parent repository in case the supplied path is a file
containing the path to said repository. this adds support
for git-worktree and things alike. see gitrepository-layout(5).

this also:
- adds a new boolean function lib.pathIsRegularFile to
  check whether a path is a regular file
- patches lib.revisionWithDefault and
  the revision and versionSuffix attributes in
  config.system.nixos in order to support git-worktrees
2020-01-10 22:29:48 +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 lib.commitIdFromGitRepo: support git-worktree 2020-01-10 22:29:48 +01:00