nixpkgs/nixos/tests/guix/scripts/create-file-to-store.scm
2023-12-01 09:10:37 +01:00

8 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))))))