mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
file-systems: Remove dependency on (guix store).
(gnu system file-systems) is used on the "build" side since commit
5970e8e248
.
* gnu/system/file-systems.scm: Remove dependency on (guix store).
(%store-prefix): New procedure.
* tests/file-systems.scm ("does not pull (guix config)"): New test.
This commit is contained in:
parent
cf98d342b0
commit
ad167d028e
2 changed files with 22 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
(define-module (test-file-systems)
|
||||
#:use-module (guix store)
|
||||
#:use-module (guix modules)
|
||||
#:use-module (gnu system file-systems)
|
||||
#:use-module (srfi srfi-64)
|
||||
#:use-module (rnrs bytevectors))
|
||||
|
@ -72,4 +73,11 @@
|
|||
(device "/foo")
|
||||
(flags '(bind-mount read-only)))))))))
|
||||
|
||||
(test-assert "does not pull (guix config)"
|
||||
;; This module is meant both for the host side and "build side", so make
|
||||
;; sure it doesn't pull in (guix config), which depends on the user's
|
||||
;; config.
|
||||
(not (member '(guix config)
|
||||
(source-module-closure '((gnu system file-systems))))))
|
||||
|
||||
(test-end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue