Skip to content

Commit

Permalink
build-scripts/nyxt-guix: Fix issue generating guix shell.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed May 31, 2024
1 parent 6a7afab commit b027814
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-scripts/nyxt-guix.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ already exists and CONTAINER is nil, after sourcing \"etc/profile\"."
(format "source %s && %s" (shell-quote-argument root-env)
(mapconcat #'shell-quote-argument command-args " "))))
(append
'("guix" "shell" "--fallback")
'("guix" "shell" "--fallback"
;; Set to the value of %default-substitute-urls, since other
;; substitute URLS may be too slow to fetch them.
"--substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org'")
`(,@(when no-grafts '("--no-grafts"))
,@(if container
`("--container"
Expand Down

2 comments on commit b027814

@logoraz
Copy link

@logoraz logoraz commented on b027814 Jun 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, trialed this out, however getting the following error:

substitute: guix substitute: error: 'https://ci.guix.gnu.org: invalid URI
guix shell: error: `/gnu/store/xxkx5mhma1na9rlp9mhq8yqlzk5g385q-guix-1.4.0-20.37719d3/bin/guix substitute' died unexpectedly

@aadcg
Copy link
Member Author

@aadcg aadcg commented on b027814 Jun 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@logoraz although not consistently, I can reproduce it.

The raised error is rather odd. Luckily, the issue that motivated b027814 seems to be gone so I'll just revert it.

See 6e6551e.

Please sign in to comment.