# What is the plan to make Flox supporting enterprise packages?

**URL:** <https://discourse.flox.dev/t/what-is-the-plan-to-make-flox-supporting-enterprise-packages/770>\
**Category:** Nix\
**Created:** [July 13, 2023, 11:28am UTC](https://discourse.flox.dev/t/what-is-the-plan-to-make-flox-supporting-enterprise-packages/770 "2023-07-13T11:28:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon59756714](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anon59756714](https://discourse.flox.dev/u/anon59756714)\
**Post date:** [July 13, 2023, 11:28am UTC](https://discourse.flox.dev/t/what-is-the-plan-to-make-flox-supporting-enterprise-packages/770/1 "2023-07-13T11:28:52Z")

</div>

My main hurdle right now is actually not that Nix expressions language is hard, I can learn and/or copy-paste from others. After playing Outer Wilds, Nix being hard has new meaning to me.

However, the main problem is that Nix only really works on public sources - public git, files downloadable from the internet. It is in its spirit because demanding login would break reproducibility. This is not what companies do - we keep private work in private repositories that you have to log in to private PyPi or Artifactory and tools are extended to support them.

I tried to use things like dream2nix and even it’s “impure pip” [does not obey global pip settings](https://github.com/nix-community/dream2nix/issues/534)

Will Flox rely on every package to be converted into Nix/Flox and this way we can install dependencies, or you would recommend [nix packaging the heretic way](https://zimbatm.com/notes/nix-packaging-the-heretic-way) to do the job?

---

<div class="post-metadata">

**Author:** ![aameen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/aameen/32/564_2.png) [@aameen](https://discourse.flox.dev/u/aameen)\
**Post date:** [July 14, 2023, 3:34pm UTC](https://discourse.flox.dev/t/what-is-the-plan-to-make-flox-supporting-enterprise-packages/770/2 "2023-07-14T15:34:48Z")

</div>

Hey it sounds like there’s 2 questions here and I can try to help you out with both of them.

1. Handling private source code.  
This one usually boils down to some auth setup, where the source code lives is usually what dictates the type of auth setup required to fetch those sources. The good news is there’s a pretty large collection that you can choose from.  
If you’ve got some specifics about where you’re trying to fetch source code from I can get into the details of setting up auth for them. For example `github`, `git` (ssh|https|http), `curl` ( for example to fetch `pkgs.github.com/<ORG>/...`, etc.

2. For impure builds similar to the two articles you’ve posted we agree completely. These articles were an inspiration for some R&D work we’ve been plugging away at and we hope to share some useful tooling with everyone soon.

Thanks for reaching out.

---

<div class="post-metadata">

**Author:** ![anon59756714](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anon59756714](https://discourse.flox.dev/u/anon59756714)\
**Post date:** [July 18, 2023, 8:52am UTC](https://discourse.flox.dev/t/what-is-the-plan-to-make-flox-supporting-enterprise-packages/770/3 "2023-07-18T08:52:44Z")

</div>

1. I mainly want to replace PyPi index with new one, so instead [pypi.org](http://pypi.org) it will use [myownpypi.example.com](http://myownpypi.example.com). Normally we do it through Pipenv or pyproject.yaml+setup.cfg + pip global config.

2. Thats very nice to hear and I will be waiting for that 🙂
