Software packaging and distribution for LHCb using Nix

Chris Burr, Marco Clemencic, Ben Couturier, L. Betev, P. Hristov, A. Forti, O. Smirnova, M. Litmaath
2019 EPJ Web of Conferences  
Software is an essential and rapidly evolving component of modern high energy physics research. The ability to be agile and take advantage of new and updated packages from the wider data science community is allowing physicists to efficiently utilise the data available to them. However, these packages often introduce complex dependency chains and evolve rapidly introducing specific, and sometimes conflicting, version requirements which can make managing environments challenging. Additionally,
more » ... ng. Additionally, there is a need to replicate old environments when generating simulated data and to utilise pre-existing datasets. Nix is a "purely functional package manager" which allows for software to be built and distributed with fully specified dependencies, making packages independent from those available on the host. Builds are reproducible and multiple versions/configurations of each package can coexist with the build configuration of each perfectly preserved. Here we will give an overview of Nix followed by the work that has been done to use Nix in LHCb and the advantages and challenges that this brings.
doi:10.1051/epjconf/201921405005 fatcat:wtu76f4f7rf7lcgyspmuk6ipsq