1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Add a test for nix run with CA derivations

This commit is contained in:
regnat 2021-05-11 10:52:17 +02:00
parent f0c0052d4b
commit f46adb783c
6 changed files with 37 additions and 16 deletions

9
tests/ca/nix-run.sh Executable file
View file

@ -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