about summary refs log tree commit diff
path: root/pkgs/test/buildFHSEnv
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2024-01-10 08:16:31 +0200
committerDoron Behar <doron.behar@gmail.com>2024-01-10 08:17:07 +0200
commit92a0043ecfca662725666a0d29e574d6c3e60a2e (patch)
treee2643d0a4f0f740dd3a5cfccbe15f4811fea4b29 /pkgs/test/buildFHSEnv
parentd3332be38c681b9087511acfc4553816e33ebcad (diff)
tests.buildFHSEnv.libtinfo: init
Diffstat (limited to 'pkgs/test/buildFHSEnv')
-rw-r--r--pkgs/test/buildFHSEnv/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/test/buildFHSEnv/default.nix b/pkgs/test/buildFHSEnv/default.nix
index 2f17e50a15829..3a97359c6f334 100644
--- a/pkgs/test/buildFHSEnv/default.nix
+++ b/pkgs/test/buildFHSEnv/default.nix
@@ -58,6 +58,16 @@ let
   '';
 
 in {
+  # This test proves an issue with buildFHSEnv - don't expect it to succeed,
+  # this is discussed in https://github.com/NixOS/nixpkgs/pull/279844 .
+  libtinfo = makeSharedObjectTest (getSharedObjectFromDebian "libedit.so.2.0.70" (fetchurl {
+    url = "mirror://debian/pool/main/libe/libedit/libedit2_3.1-20221030-2_amd64.deb";
+    hash = "sha256-HPFKvycW0yedsS0GV6VzfPcAdKHnHTvfcyBmJePInOY=";
+  })) (p: [
+    p.ncurses
+    p.libbsd
+  ]);
+
   liblzma = makeSharedObjectTest (getSharedObjectFromDebian "libxml2.so.2.9.14" (fetchurl {
     url = "mirror://debian/pool/main/libx/libxml2/libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb";
     hash = "sha256-NbdstwOPwclAIEpPBfM/+3nQJzU85Gk5fZrc+Pmz4ac=";