bug#70121: [PATCH] gnu: emacs-magit: Fix generation of autoloads.

2024-04-01 Thread Liliana Marie Prikler
* gnu/packages/emacs-xyz.scm (emacs-magit)[#:phases]: Replace ‘make-autoloads’
like the others.

Fixes: Magit autoloads are missing 
---
 gnu/packages/emacs-xyz.scm | 4 
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 975b26813a..f47f5fcb8a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1668,6 +1668,10 @@ (define-public emacs-magit
   (lambda args
 (with-directory-excursion "lisp"
   (apply (assoc-ref %standard-phases 'expand-load-path) 
args
+(replace 'make-autoloads
+  (lambda args
+(with-directory-excursion "lisp"
+  (apply (assoc-ref %standard-phases 'make-autoloads) args
 (replace 'install
   (lambda args
 (with-directory-excursion "lisp"

base-commit: 4d79a9cd6b5f0d8c5afbab0c6b70ae42740d5470
prerequisite-patch-id: c275e4e44896c8ab96e5cc9557ec5dc522d62fd0
prerequisite-patch-id: 1675bb658c90730025a744f7869a3566fb5cf41a
prerequisite-patch-id: 9c02fe03b70a5312cc982fd4b48e73e889a9afdf
-- 
2.41.0






bug#68760: I guess I found a bug in "guix pull" ?

2024-04-01 Thread Joshua Branson via Bug reports for GNU Guix
Josselin Poiret  writes:

> Hi,
>
> jbranso--- via Bug reports for GNU Guix  writes:
>
>>  message: "error parsing derivation 
>> `/gnu/store/3nppfdxy9vgg9ls6qi8j8pkzw2khi98h-git-minimal-2.41.0.drv': 
>> expected string `Derive(['"
>>  status: 1
>> guix pull: error: You found a bug: the program 
>> '/gnu/store/m9z876jpmpbslc6qaikbp9fk5dv01y3n-compute-guix-derivation'
>
> Looks like the elusive "empty drv" bug (maybe caused by fs corruption?).
> Can you `guix gc -D` that drv and retry?
>
> Best,

Thanks for the quick reply.  I was able to fix the issues that I had by
the following:

# guix system delete-generations
$ guix package -d
$ guix gc


Then I git cloned guix source, compiled from source, and

# sudo -E ./pre-inst-env guix system reconfigure \
../../guix-config/bare-bones-sway.scm

I was able to update guix pretty smoothly after that!

Thanks,

Joshua

P.S.  I'll close this bug report as well.





bug#70125: `guix home import` doesn't quote aliases properly

2024-04-01 Thread Attila Lendvai
as reported on #guix on 2024-04-01:

https://logs.guix.gnu.org/guix/2024-04-01.log#121908

the following alias (a default in ubuntu) is not quoted properly:

notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" 
"$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"

which leads to an error when opening a new terminal after a `guix home 
reconfigure`.

a discussion of this alias:

https://askubuntu.com/questions/423646/use-of-default-alias-alert

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“What you do speaks so loud I cannot hear what you say.”
— Ralph Waldo Emerson (1803–1882)






bug#70021: Closing: Duplicate report

2024-04-01 Thread aurtzy
Another report which looks to be the same issue was also submitted here: 
https://issues.guix.gnu.org/70051


That one is more active, so I'll close this one and move my discussion 
there.