Nix in Large Bazel-Based Systems: Evaluating Nix for Reproducible Large-Scale Telecom Software Development
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesisAlternative title
Nix i Storskaliga Bazelbaserade System : Utvärdering av Nix för Reproducerbar Storskalig Utveckling inom Telekom (Swedish)
Abstract [en]
This thesis investigates the practical challenges and benefits of introducing Nix as an environment layer in a large, Bazel-based industrial C++ codebase. Using an Ericsson migration as the primary case study, supplemented by smaller controlled open-source experiments, the work evaluates migration cost, reproducibility gains, and interoperabilityfailures that arise when declarative environment management meets legacy build infrastructure. Empirical results show that Nix improves reproducibility and dependency transparency in controlled settings, but that hybrid industrial environments reveal recurrent boundary problems: Bazel sandbox visibility, interactions with rules_foreign_cc and Autotools, ABI mismatches with host libraries, and wrapper scripts that reset the environment. The thesis presents a taxonomy of migration barriers, a reproducibility baseline from controlled experiments, and practical guidance for mitigation. The findings highlight that migration difficulty is driven less by repository size and more by architectural boundary entanglement, and they provide actionable recommendations for teams aiming to adopt Nix in large, long-lived software projects.
Place, publisher, year, edition, pages
2026. , p. 51
Keywords [en]
Nix, bazel, build systems, reproducible builds, dependency management, telecom
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-227125ISRN: LIU-IDA/LITH-EX-A--26/066--SEOAI: oai:DiVA.org:liu-227125DiVA, id: diva2:2095344
External cooperation
Ericsson
Subject / course
Computer science
Presentation
2026-06-11, 08:00 (English)
Supervisors
Examiners
2026-08-312026-08-262026-08-31Bibliographically approved