mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-05 08:27:02 +00:00
12 lines
159 B
Nix
12 lines
159 B
Nix
{ hello, runCommand }:
|
|
|
|
runCommand "test-hello"
|
|
{
|
|
inherit hello;
|
|
} ''
|
|
(
|
|
set -x
|
|
[[ "Hello world" == "$(${hello}/bin/hello)" ]]
|
|
)
|
|
touch $out
|
|
''
|