about summary refs log tree commit diff
path: root/pkgs/test/default.nix
diff options
context:
space:
mode:
authorYann Hamdaoui <yann.hamdaoui@tweag.io>2023-12-20 18:08:22 +0100
committerYann Hamdaoui <yann.hamdaoui@tweag.io>2023-12-21 15:42:20 +0100
commit00d0418804e96e381d40a07bf784e408c4d206f4 (patch)
tree220cbf80d420776f632655159505e2ecd67ccd84 /pkgs/test/default.nix
parent45901c42fc91c1d1d46a811b9578b4d92da98135 (diff)
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.
Diffstat (limited to 'pkgs/test/default.nix')
-rw-r--r--pkgs/test/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix
index 29dc4b5192ec9..3aed10deacf24 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 { };
 }