nixpkgs/nixos/tests/guix/scripts/create-file-to-store.scm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
332 B
Scheme
Raw Normal View History

2023-10-29 06:44:03 +00:00
;; 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))))))