diff options
author | regnat <rg@regnat.ovh> | 2021-05-11 10:52:17 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-05-17 15:10:48 +0200 |
commit | f46adb783c939c61a087cdfd8af964f4ad6f9816 (patch) | |
tree | c315dcfa20644d0d75b10ca844bce90548519a2f /tests/ca/nix-run.sh | |
parent | f0c0052d4b16d13d2a826a2839b680b729651179 (diff) |
Add a test for `nix run` with CA derivations
Diffstat (limited to 'tests/ca/nix-run.sh')
-rwxr-xr-x | tests/ca/nix-run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |