reptyr: shrink build closure

This commit is contained in:
Henri Menke 2026-05-06 14:52:38 +02:00
commit f6ae78c40b

View file

@ -2,12 +2,8 @@
stdenv,
lib,
fetchFromGitHub,
python3,
}:
let
python = python3.withPackages (p: [ p.pexpect ]);
in
stdenv.mkDerivation (finalAttrs: {
version = "0.10.0";
pname = "reptyr";
@ -24,16 +20,10 @@ stdenv.mkDerivation (finalAttrs: {
"DESTDIR=$(out)"
];
nativeCheckInputs = [ python ];
# reptyr needs to do ptrace of a non-child process
# It can be neither used nor tested if the kernel is not told to allow this
doCheck = false;
checkFlags = [
"PYTHON_CMD=${python.interpreter}"
];
meta = {
platforms = [
"i686-linux"