From f46adb783c939c61a087cdfd8af964f4ad6f9816 Mon Sep 17 00:00:00 2001 From: regnat Date: Tue, 11 May 2021 10:52:17 +0200 Subject: Add a test for `nix run` with CA derivations --- tests/ca/nix-run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tests/ca/nix-run.sh (limited to 'tests/ca/nix-run.sh') diff --git a/tests/ca/nix-run.sh b/tests/ca/nix-run.sh new file mode 100755 index 000000000..81402af10 --- /dev/null +++ b/tests/ca/nix-run.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +source common.sh + +sed -i 's/experimental-features .*/& ca-derivations ca-references nix-command flakes/' "$NIX_CONF_DIR"/nix.conf + +FLAKE_PATH=path:$PWD + +nix run --no-write-lock-file $FLAKE_PATH#runnable -- cgit v1.2.3