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:
parent
f0c0052d4b
commit
f46adb783c
6 changed files with 37 additions and 16 deletions
9
tests/ca/nix-run.sh
Executable file
9
tests/ca/nix-run.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue