From 97a7ce7aa63aee1e3d5991a7db4c41e06a28db24 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Fri, 15 Mar 2024 08:24:31 +0800 Subject: [PATCH] nixosTests.nixops: remove dead code from Nix expression --- nixos/tests/nixops/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/nixos/tests/nixops/default.nix b/nixos/tests/nixops/default.nix index 8477e5059fca..6468b8c38224 100644 --- a/nixos/tests/nixops/default.nix +++ b/nixos/tests/nixops/default.nix @@ -93,23 +93,5 @@ let inherit (import ../ssh-keys.nix pkgs) snakeOilPrivateKey snakeOilPublicKey; - /* - Return a store path with a closure containing everything including - derivations and all build dependency outputs, all the way down. - */ - allDrvOutputs = pkg: - let name = "allDrvOutputs-${pkg.pname or pkg.name or "unknown"}"; - in - pkgs.runCommand name { refs = pkgs.writeReferencesToFile pkg.drvPath; } '' - touch $out - while read ref; do - case $ref in - *.drv) - cat $ref >>$out - ;; - esac - done <$refs - ''; - in tests