aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/gi/git-cgit/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/gi/git-cgit/package.nix (renamed from pkgs/by-name/lm/lm/package.nix)22
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/by-name/lm/lm/package.nix b/pkgs/by-name/gi/git-cgit/package.nix
index 42bdc687..b64c5e84 100644
--- a/pkgs/by-name/lm/lm/package.nix
+++ b/pkgs/by-name/gi/git-cgit/package.nix
@@ -7,12 +7,22 @@
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-{writeShellApplication}:
+{
+ writeShellApplication,
+ # Dependencies
+ coreutils,
+ git,
+ openssh,
+}:
writeShellApplication {
- name = "lm";
- text = builtins.readFile ./lm.sh;
+ name = "git-cgit";
+ text = builtins.readFile ./git-cgit.sh;
- # This is sourced in the shell
- inheritPath = true;
- bashOptions = [];
+ inheritPath = false;
+
+ runtimeInputs = [
+ coreutils
+ git
+ openssh
+ ];
}