Re: [Nix-dev] Nix expression for OpenModelica

2015-07-22 Thread Sergey Mironov
New instance of OpenModelica pull request is here. This one has some
environment fixes included which make it possible to actually run the
simulation.

https://github.com/NixOS/nixpkgs/pull/8949

2015-07-21 14:39 GMT+03:00 Sergey Mironov grr...@gmail.com:
 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 r...@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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Nix expression for OpenModelica

2015-07-21 Thread Sergey Mironov
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 r...@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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Nix expression for OpenModelica

2015-06-18 Thread Rok Garbas
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


signature.asc
Description: signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Nix expression for OpenModelica

2015-06-16 Thread Matthias Beyer
Why don't you add this to nixpkgs?

On 14-06-2015 01:38:05, Sergey Mironov wrote:
 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!
 
 Regars,
 Sergey
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.


pgpWS5oY_33gz.pgp
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Nix expression for OpenModelica

2015-06-13 Thread Sergey Mironov
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!

Regars,
Sergey
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev