mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 11:08:37 +03:00
haskellPackages.git-annex: Add shellPath for the git-annex-shell.
Git annex provides a login shell for restricted access: https://git-annex.branchable.com/git-annex-shell/ This was not exposed with `passthru.shellPath` before, so you could not set a user's shell to `haskellPackages.git-annex` declaratively before this change.
This commit is contained in:
parent
9109084905
commit
dae6f96a41
@ -92,6 +92,12 @@ self: super: {
|
|||||||
rm -r $out/doc/?ndroid*
|
rm -r $out/doc/?ndroid*
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Git annex provides a restricted login shell. Setting
|
||||||
|
# passthru.shellPath here allows a user's login shell to be set to
|
||||||
|
# `git-annex-shell` by making `shell = haskellPackages.git-annex`.
|
||||||
|
# https://git-annex.branchable.com/git-annex-shell/
|
||||||
|
passthru.shellPath = "/bin/git-annex-shell";
|
||||||
}) super.git-annex;
|
}) super.git-annex;
|
||||||
|
|
||||||
# Fix test trying to access /home directory
|
# Fix test trying to access /home directory
|
||||||
|
Loading…
Reference in New Issue
Block a user