mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 14:09:17 +03: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))))))
|