help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix-home corrupt input encoding error


From: jgart
Subject: guix-home corrupt input encoding error
Date: Sat, 25 Jun 2022 21:50:51 -0500

Hi Guixers,

I'm trying to keep my home tidy on void linux.

I followed ludo's blog post here: 
https://guix.gnu.org/en/blog/2022/keeping-ones-home-tidy/

But I get the following error:

```
 λ guix home reconfigure ~/src/guix-config/home-configuration.scm
guix home: warning: cannot determine provenance for current system
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
41.9 MB will be downloaded
 guix-1.3.0-27.598f728  39.9MiB                                                 
                                                                                
                          2.5MiB/s 00:16 [##################] 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/ngiphnissk3l2b8rimbapq5pdwmw1gfj-bower-0.13.drv
  /gnu/store/qd9jkl345b57n1ral2bi192v2wnlprlk-bower-0.13-checkout.drv
  /gnu/store/l87zi9figx82dyd8z59v3lga7jmdghj3-module-import-compiled.drv
  /gnu/store/05i791c34mrsrb39c5pr93mafpd9qxbm-dwm-with-windows-key-6.3.drv

162.0 MB will be downloaded
 emacs-annalist-1.0.1  25KiB                                                    
                                                                                
                          1.5MiB/s 00:00 [##################] 100.0%
 diffutils-3.8  367KiB                                                          
                                                                                
                          570KiB/s 00:01 [##################] 100.0%
 dwm-6.3.tar.gz  25KiB                                                          
                                                                                
                         11.1MiB/s 00:00 [##################] 100.0%
 emacs-evil-collection-0.0.8  159KiB                                            
                                                                                
                          259KiB/s 00:01 [##################] 100.0%
 emacs-no-x-28.1  38.1MiB                                                       
                                                                                
                          4.3MiB/s 00:09 [##################] 100.0%
 glibc-locales-2.33  30.6MiB                                                    
                                                                                
                          1.9MiB/s 00:16 [##################] 100.0%
 lynx-2.9.0dev.9  1.3MiB                                                        
                                                                                
                          1.2MiB/s 00:01 [##################] 100.0%
 mercury-20.06.1  81.3MiB                                                       
                                                                                
                          2.8MiB/s 00:29 [##################] 100.0%
 nss-certs-3.71  128KiB                                                         
                                                                                
                         12.3MiB/s 00:00 [################# ]  99.6%Backtrace:
In guix/ui.scm:
  2166:12 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1736:10 18 (with-exception-handler _ _ #:unwind? _ # _)
  1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
  1731:15 16 (with-exception-handler #<procedure 7fd4b430b000 at ic?> ?)
In guix/scripts/substitute.scm:
   765:15 15 (_)
    538:9 14 (process-substitution #<output: file 4> _ "/gnu/store/?" ?)
In guix/serialization.scm:
    424:4 13 (fold-archive _ _ _ _)
   468:33 12 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
   468:33 11 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
   468:33 10 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
   468:33  9 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
   451:26  8 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
   520:21  7 (_ "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-ce?" ?)
In ice-9/boot-9.scm:
  1731:15  6 (with-exception-handler #<procedure 7fd4b3527f00 at ic?> ?)
In unknown file:
           5 (symlink "NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem" #)
In ice-9/boot-9.scm:
  1669:16  4 (raise-exception _ #:continuable? _)
  1669:16  3 (raise-exception _ #:continuable? _)
  1764:13  2 (_ #<&compound-exception components: (#<&error> #<&orig?>)
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert wide 
string to output locale" 84 #f #f)'.
substitution of /gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-certs-3.71 
failed
guix home: error: corrupt input while restoring archive from #<closed: file 
7f63b9351700>
```


This is my config that was generated from `guix home import`:

```

 λ cat ~/src/guix-config/home-configuration.scm
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile.  This is "symbolic": it only
;; specifies package names.  To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.

(use-modules
  (gnu home)
  (gnu packages)
  (gnu services)
  (guix gexp)
  (gnu home services shells))

(home-environment
  (packages
    (specifications->packages
      (list "jrnl"
            "slstatus"
            "dmenu"
            "guile-colorized"
            "gcal"
            "emacs-rainbow-delimiters"
            "emacs-macrostep"
            "emacs-sly-macrostep"
            "emacs-eglot"
            "emacs-keycast"
            "emacs-restart-emacs"
            "emacs-base16-theme"
            "sbcl"
            "emacs-sly"
            "babi"
            "dragon-drop"
            "guitar-scale-chart"
            "git-cal"
            "tig"
            "skim"
            "git-open"
            "guile"
            "tz"
            "neovim"
            "emacs-corfu-doc-terminal"
            "emacs-corfu-terminal"
            "emacs-no-x"
            "dwm-with-windows-key"
            "xst"
            "snafu"
            "emacs-corfu-doc"
            "emacs-corfu"
            "emacs-epithet"
            "emacs-imenu-list"
            "emacs-org-cliplink"
            "emacs-evil-org"
            "emacs-evil-collection"
            "emacs-undo-tree"
            "emacs-rainbow-mode"
            "emacs-evil-leader"
            "emacs-tempel"
            "emacs-pcmpl-args"
            "emacs-xclip"
            "emacs-terminal-here"
            "emacs-better-defaults"
            "emacs-orderless"
            "emacs-consult"
            "emacs-embark"
            "catgirl"
            "emacs-vertico"
            "emacs-marginalia"
            "emacs-evil"
            "lynx"
            "bower"
            "glibc-locales"
            "nss-certs")))
  (services
    (list (service
            home-bash-service-type
            (home-bash-configuration
              (aliases
                '(("b" . "acpi -b")
                  ("c" . "emc")
                  ("n" . "nnn")
                  ("sbcl" . "rlwrap sbcl")))
              (bashrc
                (list (local-file
                        "/home/jgart/src/guix-config/.bashrc"
                        "bashrc")))
              (bash-profile
                (list (local-file
                        "/home/jgart/src/guix-config/.bash_profile"
                        "bash_profile")))
              (bash-logout
                (list (local-file
                        "/home/jgart/src/guix-config/.bash_logout"
                        "bash_logout"))))))))
```

wdyt

- jgart



reply via email to

[Prev in Thread] Current Thread [Next in Thread]