1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/lib
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
..
systems
tests lib/tests: Add tests for attrsOf and lazyAttrsOf 2020-01-10 16:20:31 +01:00
asserts.nix
attrsets.nix
customisation.nix
debug.nix
default.nix lib.commitIdFromGitRepo: support git-worktree 2020-01-10 22:29:48 +01:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix
kernel.nix
licenses.nix
lists.nix
meta.nix
minver.nix
modules.nix lib/modules: Switch _module.args from attrsOf to lazyAttrsOf 2020-01-10 16:20:31 +01:00
options.nix
sources.nix lib.commitIdFromGitRepo: support git-worktree 2020-01-10 22:29:48 +01:00
strings-with-deps.nix
strings.nix
trivial.nix lib.commitIdFromGitRepo: support git-worktree 2020-01-10 22:29:48 +01:00
types.nix lib/types: Introduce lazyAttrsOf 2020-01-10 16:19:55 +01:00
versions.nix
zip-int-bits.nix