1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

make static sdf2bundle

svn path=/nixpkgs/trunk/; revision=18312
This commit is contained in:
Rob Vermaas 2009-11-09 14:43:01 +00:00
parent c0a1119f10
commit 85ee8e90b7
2 changed files with 13 additions and 6 deletions

View file

@ -1,14 +1,21 @@
{stdenv, fetchurl, aterm, pkgconfig, getopt, jdk}:
{stdenv, fetchurl, aterm, pkgconfig, getopt, jdk, makeStaticBinaries}:
rec {
inherit aterm;
sdfStatic = stdenv.mkDerivation ( rec {
name = "${sdf.name}-static";
configureFlags = "--enable-shared=no --enable-static=yes";
stdenvStatic = makeStaticBinaries stdenv ;
inherit (sdf) src buildInputs preConfigure meta;
atermStatic = stdenvStatic.mkDerivation ( rec {
name = "${aterm.name}-static";
inherit (aterm) src meta patches;
} // ( if stdenv.system == "i686-cygwin" then { inherit (sdf) CFLAGS; } else {} ) ) ;
sdfStatic = stdenvStatic.mkDerivation ( rec {
name = "${sdf.name}-static";
inherit (sdf) src preConfigure meta;
buildInputs = [pkgconfig atermStatic];
} // ( if stdenv.system == "i686-cygwin" then { inherit (sdf) CFLAGS; } else {} ) ) ;
sdf = stdenv.mkDerivation ( rec {

View file

@ -2231,7 +2231,7 @@ let
};
strategoPackages018 = import ../development/compilers/strategoxt/0.18.nix {
inherit fetchurl stdenv pkgconfig aterm getopt jdk;
inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries;
};
metaBuildEnv = import ../development/compilers/meta-environment/meta-build-env {