Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Jan 30, 2024
1 parent 0ad6103 commit 9572f08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion notes/guix-guile-nix/guix_package.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,15 @@
git checkout <tag-or-branch>
# https://guix.gnu.org/manual/en/html_node/Invoking-guix-hash.html
guix hash -x --serializer=nar . # with the dot at the end!

# sha256; base32; or (B):
# package definition is obtained using git-fetch
# clone specific tag or branch
set repo https://github.com/clojure/tools.deps.alpha
git clone --depth=1 --branch=v0.15.1254 $repo
guix hash -x --serializer=nar (basename $repo)

# sha256; base32; or (A):
# sha256; base32; or (C):
# package is a file downloaded from an the URI - add it to the store, and
# print both its file name in the store and its SHA256 hash
guix download URI
Expand Down

0 comments on commit 9572f08

Please sign in to comment.