From 4cde04f476fa0f61680f8e53fe81cc70923689fc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 Nov 2017 18:36:36 +0100 Subject: Add tests for "nix run" --- tests/run.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/run.nix (limited to 'tests/run.nix') diff --git a/tests/run.nix b/tests/run.nix new file mode 100644 index 000000000000..77dcbd2a9df0 --- /dev/null +++ b/tests/run.nix @@ -0,0 +1,17 @@ +with import ./config.nix; + +{ + hello = mkDerivation { + name = "hello"; + buildCommand = + '' + mkdir -p $out/bin + cat > $out/bin/hello <