mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
9 lines
332 B
Scheme
9 lines
332 B
Scheme
;; 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))))))
|