yoda: fix and enable strictDeps

This commit is contained in:
FliegendeWurst
2024-12-19 07:21:20 +01:00
parent 7c1444dd00
commit eabe3789b6

View File

@@ -3,6 +3,7 @@
stdenv,
fetchFromGitLab,
autoreconfHook,
bash,
python,
root,
makeWrapper,
@@ -23,6 +24,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = with python.pkgs; [
autoreconfHook
bash
cython
makeWrapper
];
@@ -43,6 +45,8 @@ stdenv.mkDerivation rec {
zlib
];
strictDeps = true;
enableParallelBuilding = true;
postPatch = ''
@@ -54,6 +58,7 @@ stdenv.mkDerivation rec {
'';
postInstall = ''
patchShebangs --build $out/bin/yoda-config
for prog in "$out"/bin/*; do
wrapProgram "$prog" --set PYTHONPATH $PYTHONPATH:$(toPythonPath "$out")
done