From 00d0418804e96e381d40a07bf784e408c4d206f4 Mon Sep 17 00:00:00 2001 From: Yann Hamdaoui Date: Wed, 20 Dec 2023 18:08:22 +0100 Subject: Test __structuredAttrs support in autoPatchelf This commit adds a test for the newly added support for __structuredAttrs in autoPatchelf(hook). It copied a reasonably small-closure binary derivation that makes use of autoPatchelf, stripped it down for the purpose of the test, and check that autoPatchelf correctly set the interpreter and runpath whether __structuredAttrs is set to true or not. --- pkgs/test/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/test/default.nix') diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 29dc4b5192ec..3aed10deacf2 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -167,4 +167,6 @@ with pkgs; pkgs-lib = recurseIntoAttrs (import ../pkgs-lib/tests { inherit pkgs; }); nixpkgs-check-by-name = callPackage ./nixpkgs-check-by-name { }; + + auto-patchelf-hook = callPackage ./auto-patchelf-hook { }; } -- cgit v1.2.3