diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-06-23 11:26:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 11:26:22 +0200 |
commit | 7945055c6367527ba3ca2aebf19a5e448997078d (patch) | |
tree | 671c94f3777fdb917cd258730e2e2d005e87ecb4 /tests/ca | |
parent | 4a5aa1dbf625af795b19badd66c0a0891c9d5b49 (diff) | |
parent | 3b58dbb3561e02dc94e88b531d0942a7f8ccf8ea (diff) |
Merge pull request #4842 from NixOS/ca/fix-nix-shell
Make `nix-shell` support content-addressed derivations
Diffstat (limited to 'tests/ca')
-rwxr-xr-x | tests/ca/nix-shell.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ca/nix-shell.sh b/tests/ca/nix-shell.sh new file mode 100755 index 000000000..7f1a3a73e --- /dev/null +++ b/tests/ca/nix-shell.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +source common.sh + +sed -i 's/experimental-features .*/& ca-derivations ca-references nix-command flakes/' "$NIX_CONF_DIR"/nix.conf + +CONTENT_ADDRESSED=true +cd .. +source ./nix-shell.sh + |