diff options
author | K900 <me@0upti.me> | 2022-12-26 21:05:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 21:05:35 +0300 |
commit | 2d3cf010fe48694a53897ad248ecb95dc458d9f9 (patch) | |
tree | 20f8ff6bdf03c5e1d45cf99a27e1fe75f3fcc8b9 /nixos/tests/step-ca.nix | |
parent | d72cf7be4825be52c905c816f8d49e1a25bfddc7 (diff) |
Revert "treewide: use nativeBuildInputs with runCommand instead of inlining"
Diffstat (limited to 'nixos/tests/step-ca.nix')
-rw-r--r-- | nixos/tests/step-ca.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/step-ca.nix b/nixos/tests/step-ca.nix index d4e1c1ae01446..a855b590232dd 100644 --- a/nixos/tests/step-ca.nix +++ b/nixos/tests/step-ca.nix @@ -1,13 +1,11 @@ import ./make-test-python.nix ({ pkgs, ... }: let - test-certificates = pkgs.runCommandLocal "test-certificates" { - nativeBuildInputs = with pkgs; [ step-cli ]; - } '' + test-certificates = pkgs.runCommandLocal "test-certificates" { } '' mkdir -p $out echo insecure-root-password > $out/root-password-file echo insecure-intermediate-password > $out/intermediate-password-file - step certificate create "Example Root CA" $out/root_ca.crt $out/root_ca.key --password-file=$out/root-password-file --profile root-ca - step certificate create "Example Intermediate CA 1" $out/intermediate_ca.crt $out/intermediate_ca.key --password-file=$out/intermediate-password-file --ca-password-file=$out/root-password-file --profile intermediate-ca --ca $out/root_ca.crt --ca-key $out/root_ca.key + ${pkgs.step-cli}/bin/step certificate create "Example Root CA" $out/root_ca.crt $out/root_ca.key --password-file=$out/root-password-file --profile root-ca + ${pkgs.step-cli}/bin/step certificate create "Example Intermediate CA 1" $out/intermediate_ca.crt $out/intermediate_ca.key --password-file=$out/intermediate-password-file --ca-password-file=$out/root-password-file --profile intermediate-ca --ca $out/root_ca.crt --ca-key $out/root_ca.key ''; in { |