1
0
Fork 0

Add channel lock mechanism for reproducability

main
Ethan Reece 2024-07-15 08:01:09 -05:00
parent 0ce87b9a4d
commit 9c7ee0752b
Signed by: me
GPG Key ID: 198E9EB433DB1B28
4 changed files with 18 additions and 5 deletions

View File

@ -26,4 +26,4 @@
(home-page "https://ethanreece.com")
(license license:expat)))
resume
rust-typst-cli-0.11

View File

@ -1,5 +1,9 @@
default:
guix time-machine --channels=./channels.scm -- shell --container --manifest=./guix.scm -- typst compile main.typ
guix time-machine --channels=./channels.scm.lock -- shell --container --file=./guix.scm -- typst compile main.typ
dev:
guix time-machine --channels=./channels.scm -- shell --manifest=./guix.scm
guix time-machine --channels=./channels.scm.lock -- shell --file=./guix.scm
update:
guix time-machine --channels=./channels.scm -- shell --container guix bash -- bash -c "guix describe --format=channels > ./channels.scm.lock"
# guix shell --container --network --nesting guix bash -- bash -c "guix pull --channels=./channels.scm && guix describe --format=channels > ./channels.scm.lock"

View File

@ -2,8 +2,6 @@
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"ddbbb78786e104a9a9e93cffe9f69b6c0f3bd4ed")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"

11
channels.scm.lock 100644
View File

@ -0,0 +1,11 @@
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"1a34b9b725e731a6d5f602d104f09a1c68afa6a4")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))