{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11824","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11824/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11824/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11824/events","html_url":"https://github.com/NixOS/nixpkgs/issues/11824","id":123071658,"number":11824,"title":"git annex assistant should probably have lsof as a dependency","user":{"login":"ellis","id":97852,"avatar_url":"https://avatars.githubusercontent.com/u/97852?v=3","gravatar_id":"","url":"https://api.github.com/users/ellis","html_url":"https://github.com/ellis","followers_url":"https://api.github.com/users/ellis/followers","following_url":"https://api.github.com/users/ellis/following{/other_user}","gists_url":"https://api.github.com/users/ellis/gists{/gist_id}","starred_url":"https://api.github.com/users/ellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellis/subscriptions","organizations_url":"https://api.github.com/users/ellis/orgs","repos_url":"https://api.github.com/users/ellis/repos","events_url":"https://api.github.com/users/ellis/events{/privacy}","received_events_url":"https://api.github.com/users/ellis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-19T08:36:25Z","updated_at":"2015-12-23T00:55:12Z","closed_at":null,"body":"I'm currently running on nixos 15.09 and installed git-annex with assistant via:\r\n\r\n> nix-env -iA nixos.haskellPackages.git-annex-with-assistant\r\n\r\nWhen I started the assistant, it printed a disconcerting warning:\r\n\r\n> % git annex assistant --autostart\r\n> git-annex autostart in /home/ellis/repo/doc-ver\r\n> git-annex: The lsof command is needed for watch mode to be safe, and is not in PATH.\r\n> To override lsof checks to ensure that files are not open for writing\r\n> when added to the annex, you can use --force\r\n> Be warned: This can corrupt data in the annex, and make fsck complain.\r\n\r\nInstalling lsof resolved the problem.  Should lsof be made a dependency of git-annex?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/166770449","html_url":"https://github.com/NixOS/nixpkgs/issues/11824#issuecomment-166770449","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11824","id":166770449,"user":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T00:55:12Z","updated_at":"2015-12-23T00:55:12Z","body":"i would also expect nix to install ``lsof`` and sed needed files to use nix's lsof"}}