about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/guix/scripts/create-file-to-store.scm
blob: 467e4c4fd53f2281b54abfde644864927431cd66 (plain) (blame)
1
2
3
4
5
6
7
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))))))