Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacs magit-todos: git not found #45868

Closed
nico202 opened this issue Aug 31, 2018 · 1 comment
Closed

emacs magit-todos: git not found #45868

nico202 opened this issue Aug 31, 2018 · 1 comment

Comments

@nico202
Copy link
Contributor

nico202 commented Aug 31, 2018

Issue description

magit-todos needs the git command

Steps to reproduce

nix-shell -p emacsPackagesNg.melpaPackages.magit-todo

results in:

Searching for program: No such file or directory, git
and the installation fails

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.63, NixOS, 18.09pre149415.8395f9aa85e (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.4
  • channels(IITaudio): "master, nixos"
  • channels(gitlab-runner): "nixpkgs-18.03pre117013.aebdc892d6"
  • channels(root): "nixos-18.09pre149415.8395f9aa85e"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@periklis
Copy link
Contributor

This is a common pitfall with emacs packages missing build inputs others than emacs packages. Latter are identified by emacs2nix, but external dependencies. Please try out the following approach like magit. A PR is always welcome ;)

danieldk added a commit to danieldk/nixpkgs that referenced this issue Sep 3, 2018
magit-todos requires git during builds. Fixes NixOS#45868.
xeji pushed a commit that referenced this issue Sep 3, 2018
magit-todos requires git during builds. Fixes #45868.

(cherry picked from commit 9d6ff38)
xeji pushed a commit that referenced this issue Sep 3, 2018
magit-todos requires git during builds. Fixes #45868.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants