mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Remove store path occurrences.
When running `make dist`, it is checked that there are no store paths in the resulting dist folder. Specifically through the `assert-no-store-file-names` target. I think that this target makes sense and this commit has workarounds for currently embedded store paths. Two of those are comments. Maybe the target could be changed to ignore those in the future. But the hash is not important, so just replace it with <hash>. As for crate tests, I decided to split the string instead of removing it, although it seems to me it might safely be removed, but I am not completely sure about the intent here. * gnu/packages/astronomy.scm (python-jplephem-2.22): Remove store hash from comment. * gnu/packages/golang-build.scm (golang-org-x-exp): Likewise. * tests/import/crate.scm (temp-file): Split store path's hash. Change-Id: I709f29a9dfab626d194c41d12e53e0380a148217 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
b5da2b372d
commit
d5b980cfa1
3 changed files with 5 additions and 4 deletions
|
|
@ -5361,7 +5361,7 @@ milliarcsecond).")
|
|||
(arguments
|
||||
(list
|
||||
;; FIXME: OSError: [Errno 30] Read-only file system:
|
||||
;; '/gnu/store/4az2pl6mslrdh9wcxd5r3dmr4spr5y94-python-3.11.11/lib/python3.11/@test_43_tmpæ.pyc'
|
||||
;; '/gnu/store/<hash>-python-3.11.11/lib/python3.11/@test_43_tmpæ.pyc'
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
|
|||
|
|
@ -766,7 +766,7 @@ language.")
|
|||
;; modules disabled by GO111MODULE=off; see 'go help modules'
|
||||
"TestRelease_gitRepo_uncommittedChanges"
|
||||
;; constraints_test.go:104:
|
||||
;; /gnu/store/vr0097qq0kl1ansn6iv5smysjh9v7ycd-go-1.24.3/lib/go/bin/go
|
||||
;; /gnu/store/<hash>-go-1.24.3/lib/go/bin/go
|
||||
;; mod tidy: exit status 1 go: modules disabled by
|
||||
;; GO111MODULE=off; see 'go help modules'
|
||||
"TestFailure")
|
||||
|
|
|
|||
|
|
@ -293,8 +293,9 @@ version = \"25.2.0\"\n" port)))
|
|||
(mock
|
||||
((guix scripts download) guix-download
|
||||
(lambda _
|
||||
(format #t "~a~%~a~%"
|
||||
"/gnu/store/in056fyrz6nvy3jpxrxglgj30g0lwniv-smithay-0cd3345"
|
||||
(format #t "~a/~a~%~a~%"
|
||||
"/gnu/store"
|
||||
"in056fyrz6nvy3jpxrxglgj30g0lwniv-smithay-0cd3345"
|
||||
"191h87bpzg0l1ihfb4hmx00b86pfb5mwwc6s8i49al0vigc14l37")))
|
||||
(let-values
|
||||
(((source-expressions cargo-inputs-entry)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue