# Offline build support for packaging

**URL:** <https://discourse.slicer.org/t/offline-build-support-for-packaging/37616>\
**Category:** Support\
**Created:** [July 29, 2024, 8:05pm UTC](https://discourse.slicer.org/t/offline-build-support-for-packaging/37616 "2024-07-29T20:05:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![purepani](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/purepani/32/77473_2.png) [@purepani](https://discourse.slicer.org/u/purepani)\
**Post date:** [July 29, 2024, 8:05pm UTC](https://discourse.slicer.org/t/offline-build-support-for-packaging/37616/1 "2024-07-29T20:05:41Z")

</div>

Hi,  
I was attempting to package this software for NixOS, and it looks like the cmake makes many network calls during the build, which, for reproducibility, isn’t allowed in NixOS. While it is possible to work around this on the packaging side, any solution would be fragile, so I was wondering if it would be at all possible to restructure the build process so that CMAKE can be run fully offline. I’d be willing to help if needed.

---

<div class="post-metadata">

**Author:** ![Fireye](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fireye/32/80849_2.png) [@Fireye](https://discourse.slicer.org/u/Fireye)\
**Post date:** [August 19, 2025, 9:26am UTC](https://discourse.slicer.org/t/offline-build-support-for-packaging/37616/2 "2025-08-19T09:26:37Z")

</div>

Are there any updates here? As a newer nix user it’s been unfathomably frustrating to even get this program running in the first place and it’d be beyond helpful to have it included in nixpkgs.

---

<div class="post-metadata">

**Author:** ![purepani](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/purepani/32/77473_2.png) [@purepani](https://discourse.slicer.org/u/purepani)\
**Post date:** [January 26, 2026, 11:55pm UTC](https://discourse.slicer.org/t/offline-build-support-for-packaging/37616/3 "2026-01-26T23:55:43Z")

</div>

I had this PR for nixpkgs a while ago which used the binary. Not sure if it really still works but it’s there. [slicer3d: init at 5.6.2 by purepani · Pull Request #355116 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/355116)
