[Nix-dev] Nix expression for OpenModelica
Sergey Mironov
grrwlf at gmail.com
Tue Jul 21 13:39:44 CEST 2015
I agree, adding OM expression to nixpkgs is the preferred way. The
reason I started with standalone expression is the complexity of OM
building scenario. The major problem arises from the fact, that
Makefile calls GIT and SVN to fetch additional sources (more than 70
libraries are fetched this way!). Standalone expression allowed me to
debug the generic build process with nix-shell.
Today I finished the complete expression, the pull request is available at
https://github.com/NixOS/nixpkgs/pull/8918
Github already reports about Travis CI build failure. In the details
section one could find:
Auto-merging pkgs/top-level/all-packages.nix
error: while querying the derivation named ‘pypy2.6-rainbowstream-1.2.7’:
while evaluating the attribute ‘postPatch’ of the derivation
‘pypy2.6-rainbowstream-1.2.7’ at
/home/travis/.nox/nixpkgs/pkgs/development/python-modules/generic/default.nix:65:3:
attribute ‘sitePackages’ missing, at
/home/travis/.nox/nixpkgs/pkgs/top-level/python-packages.nix:7515:19
What does Travis try to make? What can I do to fix it?
Regards,
Sergey
2015-06-18 15:28 GMT+03:00 Rok Garbas <rok at garbas.si>:
> Quoting Sergey Mironov (2015-06-14 00:38:05)
>> Hi! I've started to write Nix expression for building OpenModelica
>> (https://openmodelica.org/index.php) the open source simulation
>> environment. Currently, I have several 'standalone' nix expressions located at
>> https://github.com/grwlf/nixcfg/tree/openmodelica/src/pkgs/OpenModelica
>>
>> At the moment, builder is able to pass configuration stage, but
>> it runs out of memory somewhere in the middle of compilation:
>> OpenModelica is a big thing, but my machine is not. If anyone has
>> interest in building the tool, you are welcome to join the initiative!
>>
>
> i would suggest you open a pull request against github.com/NixOS/nixpkgs so
> that others can test it easier.
>
>
> --
> Rok Garbas - http://www.garbas.si
More information about the nix-dev
mailing list