Having this (missing /
at the end of git Url)
let emacsOverlay = (import (builtins.fetchGit {
url = "https://github.com/nix-community/emacs-overlay";
ref = "master";
rev = "47acbeca3e13a03131a0a7a9a3bd3443e1760d71";
}));
in
# [...]
produces this error message:
warning: refname ‘47acbeca3e13a03131a0a7a9a3bd3443e1760d71’ is ambiguous. Git normally never creates a ref that ends with 40 hex characters because it will be ignored when you just specify 40-hex. These refs may be created by mistake. For example,
git switch -c
$br $ (git rev-parse …)where “$br” is somehow empty and a 40-hex ref is created. Please examine these refs and maybe delete them. Turn this message off by running “git config advice.objectNameWarning false”