Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
559 B · 25 lines
Nix
at litex
1234567891011121314151617181920212223242526{ stdenv, python }:
stdenv.mkDerivation { pname = "python-recursive-pth-loader"; version = "1.0";
dontUnpack = true;
buildInputs = [ python ];
patchPhase = "cat ${./sitecustomize.py} > sitecustomize.py";
buildPhase = "${python.pythonForBuild}/bin/${python.pythonForBuild.executable} -m compileall .";
installPhase = '' dst=$out/lib/${python.libPrefix}/site-packages mkdir -p $dst cp sitecustomize.* $dst/ '';
meta = { description = "Enable recursive processing of pth files anywhere in sys.path"; };}