nixos/guix: init
This commit is contained in:
committed by
Weijia Wang
parent
092aaf8418
commit
ad277ea47e
8
nixos/tests/guix/scripts/create-file-to-store.scm
Normal file
8
nixos/tests/guix/scripts/create-file-to-store.scm
Normal file
@@ -0,0 +1,8 @@
|
||||
;; A script that creates a store item with the given text and prints the
|
||||
;; resulting store item path.
|
||||
(use-modules (guix))
|
||||
|
||||
(with-store store
|
||||
(display (add-text-to-store store "guix-basic-test-text"
|
||||
(string-join
|
||||
(cdr (command-line))))))
|
||||
Reference in New Issue
Block a user