Go to file
TakeV 1ed36e0d17
Add example channels.scm
2023-07-08 22:37:20 -07:00
.guix/modules Add propogated-inputs: tar, unzip, and coreutils 2023-07-08 20:43:02 -07:00
doc Add initial files 2023-07-05 00:52:01 -07:00
guix-cantrips Implement directory copying 2023-07-08 21:36:23 -07:00
scripts Add guix summon for tarballs. Zip and dir support are not yet implemented 2023-07-08 20:28:08 -07:00
.gitignore Skip envrc 2023-07-08 17:36:19 -07:00
.guix-authorizations Configure repo as channel, because hell yeah 2023-07-07 23:31:19 -07:00
.guix-channel Configure repo as channel, because hell yeah 2023-07-07 23:31:19 -07:00
COPYING Add initial files 2023-07-05 00:52:01 -07:00
HACKING Add initial files 2023-07-05 00:52:01 -07:00
README Add initial files 2023-07-05 00:52:01 -07:00
README.org Add example channels.scm 2023-07-08 22:37:20 -07:00
channels.scm Add example channels.scm 2023-07-08 22:37:20 -07:00
guix.scm Configure repo as channel, because hell yeah 2023-07-07 23:31:19 -07:00
hall.scm Add example channels.scm 2023-07-08 22:37:20 -07:00

README

# -*- mode: org; coding: utf-8; -*-

#+TITLE: README for Guix-Cantrips

Utilities to make programming with guix feel like ~magic~.

* Install

Currently, the only way to install is with guix. Add this repo as a channel to your channels.scm:

#+BEGIN_SRC scheme
	(channel
	 (name 'guix-cantrips)
	 (url "https://git.solarpunk.moe/TakeV/guix-cantrips.git")
	 (branch "main")
	 (introduction
		(make-channel-introduction
		 "eae81890ad657de402acd7e2013f4f02376a7bf0"
		 (openpgp-fingerprint "1086 326D E207 068C 1C02  5129 A64F 4134 5C74 00AF"))))
#+END_SRC

Then run =guix pull= followed by =guix install guix-cantrips=.

* Usage
Invoke with =guix-cantrips COMMAND=.

* Utilities
The current utilities include:

| Utility | Description                                                                                                    |
|---------+----------------------------------------------------------------------------------------------------------------|
| summon  | Downloads the source code of the specified package, and extracts it to a project directory (~/src by default). |
|         | *Please note that this can overwrite the folder in the project directory, should the project already exist.*     |