reptyr: shrink build closure (#517301)

This commit is contained in:
Nick Cao
2026-05-06 18:36:48 +00:00
committed by GitHub
-10
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"