uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, lib, openmodelica, symlinkJoin, gnumake, blas, lapack, makeWrapper }:
|
||||
symlinkJoin {
|
||||
name = "openmodelica-combined";
|
||||
paths = with openmodelica; [
|
||||
omcompiler
|
||||
omsimulator
|
||||
omplot
|
||||
omparser
|
||||
omedit
|
||||
omlibrary
|
||||
omshell
|
||||
];
|
||||
|
||||
buildInputs = [ gnumake makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/OMEdit \
|
||||
--prefix PATH : ${lib.makeBinPath [ gnumake stdenv.cc ]} \
|
||||
--prefix LIBRARY_PATH : "${lib.makeLibraryPath [ blas lapack ]}" \
|
||||
--set-default OPENMODELICALIBRARY "${openmodelica.omlibrary}/lib/omlibrary"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open-source Modelica-based modeling and simulation environment intended for industrial and academic usage";
|
||||
homepage = "https://openmodelica.org";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ balodja smironov ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue