guix pull에서 "일치 오류"가 발생합니다.

guix pull에서 "일치 오류"가 발생합니다.

패키지를 설치했습니다지크스(데비안 불스아이에서).

guix pull쓰여진대로 실행 해 보았습니다 .문서:

$ sudo -i guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   b329c21
Backtrace:
           6 (apply-smob/1 #<catch-closure 7faa14873220>)
In ice-9/boot-9.scm:
    705:2  5 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  4 (_ #(#(#<directory (guile-user) 7faa144f0140>)))
In guix/ui.scm:
  2117:12  3 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  2 (catch _ _ #<procedure 7faa1446a280 at guix/ui.scm:702…> …)
    829:9  1 (catch _ _ #<procedure 7faa1446a298 at guix/ui.scm:842…> …)
    829:9  0 (catch _ _ #<procedure 7faa119b30a8 at guix/scripts/pu…> …)

ice-9/boot-9.scm:829:9: In procedure catch:
Throw to key `match-error' with args `("match" "no matching pattern" (
#:re-export-and-replace (delete) 
#:replace ((define-public* . define-public)) 
#:export (content-hash content-hash? content-hash-algorithm content-hash-value 
origin origin? this-origin origin-uri origin-method origin-hash origin-sha256 
origin-file-name origin-actual-file-name origin-patches origin-patch-flags 
origin-patch-inputs origin-patch-guile origin-snippet origin-modules 
base32 base64 package package? this-package package-name package-upstream-name 
package-version package-full-name package-source package-build-system 
package-arguments package-inputs package-native-inputs package-propagated-inputs 
package-outputs package-native-search-paths package-search-paths package-replacement 
package-synopsis package-description package-license package-home-page 
package-supported-systems package-properties package-location 
package-definition-location hidden-package hidden-package? package-superseded 
deprecated-package package-field-location this-package-input this-package-native-input 
lookup-package-input lookup-package-native-input lookup-package-propagated-input 
lookup-package-direct-input prepend replace modify-inputs package-direct-sources 
package-transitive-sources package-direct-inputs package-transitive-inputs 
package-transitive-target-inputs package-transitive-native-inputs 
package-transitive-propagated-inputs package-transitive-native-search-paths 
package-transitive-supported-systems package-mapping package-input-rewriting 
package-input-rewriting/spec package-source-derivation package-derivation 
package-cross-derivation package-output package-grafts package-patched-vulnerabilities 
package-with-patches package-with-extra-patches package-with-c-toolchain 
package/inherit transitive-input-references %supported-systems %hurd-systems 
%cuirass-supported-systems supported-package? &package-error package-error? 
package-error-package &package-input-error package-input-error? 
package-error-invalid-input &package-cross-build-system-error 
package-cross-build-system-error? package->bag bag->derivation bag-direct-inputs 
bag-transitive-inputs bag-transitive-host-inputs bag-transitive-build-inputs 
bag-transitive-target-inputs package-development-inputs package-closure 
default-guile default-guile-derivation set-guile-for-build package-file 
package->derivation package->cross-derivation origin->derivation)))'.

(더 나은 가독성을 위해 줄바꿈을 추가했습니다.)

이 오류를 해결하는 방법은 무엇입니까?

답변1

~처럼방황하는 캐스케이드 조언, 중간 조치를 취해야 합니다.

  1. 표시된 커밋으로 guix를 업데이트합니다.v1.3.0(해시 a0178d3...):

    $ guix pull --commit=a0178d3
    ...
    
  2. 그런 다음 이 버전의 스크립트를 사용하여 마스터 분기를 가져옵니다.

    $ ~/.config/guix/current/bin/guix pull
    
  3. 패키지를 설치합니다( guile예:).

    $ ~/.config/guix/current/bin/guix install guile
    

    기본 구성 파일( ~/.guix-profile)을 초기화합니다.

    이제 다음을 수행할 수 있습니다.

    1. ~/.config/guix/current/bin/guix— 최신 버전의 guix스크립트입니다.
    2. ~/.guix-profile— 귀하의 기본 프로필.
  4. 모든 것을 하나로 모으고 guix를 사용하려면 다시 로그인해야 합니다. 이렇게 하면 두 개의 디렉토리 /etc/profile.d/guix.sh에 추가됩니다 : 및 .$PATH${HOME}/.guix-profile/bin${HOME}/.config/guix/current/bin

관련 정보