propagatedBuildInputs v.s. buildInputs, in the context of a Python package

1,596 views
Skip to first unread message

Klaas van Schelven

unread,
Dec 14, 2017, 7:56:02 AM12/14/17
to nix-devel
Hello all,

I think I have an understanding of propagatedBuildInputs v.s. buildInputs in the context of Python packages, but I would like to have it confirmed

My understanding is that any runtime dependency of a package should go in propagatedBuildInputs, and any test/build time dependency should be in buildInputs.

Is this correct?

Klaas

Freddy Rietdijk

unread,
Dec 14, 2017, 8:01:06 AM12/14/17
to Klaas van Schelven, nix-devel
Hi,

In the case of Python packages you are correct:
  • `propagatedBuildInputs` is for run-time dependencies
  • `buildInputs` is for build-time dependencies
  • `checkInputs` is for test dependencies (16.09+)

Freddy


--
You received this message because you are subscribed to the Google Groups "nix-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nix-devel+unsubscribe@googlegroups.com.
To post to this group, send email to nix-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nix-devel/CACu42%2B7c5FPt%3DZ1QHvUQ2hsNevja9fsO8zJpiiOtSH%2Bb_%2B5bPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages