Commit 9b60b131 authored by jopejoe1's avatar jopejoe1
Browse files

python3Packages.scancode-toolkit: pre-generate index file

this is needed to run the scancode cli to scan a codebase otherwise it complains about a non-writable file.
parent 8cffeac1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -137,7 +137,9 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  # Pre-genrating license index
  postInstall = ''
    $out/bin/scancode-reindex-licenses
  '';

  pythonImportsCheck = [ "scancode" ];