Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
574 B · 35 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536{ lib, stdenv, python, flit-core,}:
stdenv.mkDerivation rec { pname = "${python.libPrefix}-bootstrap-${flit-core.pname}"; inherit (flit-core) version src patches meta ;
sourceRoot = "${src.name}/flit_core";
buildPhase = '' runHook preBuild
${python.interpreter} -m flit_core.wheel
runHook postBuild '';
installPhase = '' runHook preInstall
${python.interpreter} bootstrap_install.py dist/flit_core-*.whl \ --install-root "$out" --installdir "/${python.sitePackages}"
runHook postInstall '';}