FEHM icon indicating copy to clipboard operation
FEHM copied to clipboard

Packaging of `FEHM` with `nix`

Open nialov opened this issue 4 months ago • 0 comments

Hey,

This is mostly just a FYI but I have gone through the effort of packaging fehm for the nix package manager (https://nixos.org/). See here for the build definition: https://github.com/nialov/nix-extra/blob/master/overlays/packages/fehm/default.nix

nix provides reproducible (and cached builds) of any software. This means it is possible to always reproduce a build with nix if you for instance provide a revision of the repo with the nix build declarations. E.g.

nix build github:nialov/nix-extra/d905dc7eca43321db38ee985ea8f10ae56de9b7c#fehm

Anyway, if you have had trouble with e.g. reproducibility and with developers setting up their development environment, nix is a solution to these problems although it has a steep learning curve. I have not included my packaging efforts in nixpkgs (https://github.com/NixOS/nixpkgs), as I do not know fehm well enough to say if the produced build result is completely valid. Let me know if any you actual maintainers have interest in these things! Otherwise, as said at the start, this is just a FYI.

nialov avatar Apr 11 '24 07:04 nialov