about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Do not assume a .rev attribute in available in src in maven-build.nixRob Vermaas2014-01-24
|
* clang-wrapper: Set $CXX to clangEelco Dolstra2014-01-23
| | | | | | This is useful for non-Autoconf-based packages, since GNU Make's default for CXX is "g++". (The CC default is "cc" so should work fine with Clang already.)
* clang-wrapper: Sync with gcc-wrapperEelco Dolstra2014-01-23
|
* Merge master into stdenv-updatesVladimír Čunát2014-01-20
|\ | | | | | | | | | | Conflicts: pkgs/applications/version-management/gource/default.nix pkgs/top-level/all-packages.nix
| * Add full llvm build, update libc++ and dragoneggShea Levy2014-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some packages in the llvm suite (e.g. compiler-rt) cannot be built separate from the build of llvm, and while some others (e.g. clang) can the combined build is much better tested (we've had to work around annoying issues before). So this puts llvm, clang, clang-tools-extra, compiler-rt, lld, lldb, and polly all into one big build (llvmFull). This build includes a static llvm, as dynamic is similarly less tested and has known failures. This also updates libc++ and dragonegg. libc++ now builds against libc++abi as a separate package rather than building it during the libc++ build. The clang purity patch is gone. Instead, we simply set --sysroot to /var/empty for pure builds, as all impure paths are either looked up in the gcc prefix (which we hard-code at compile time) or in the sysroot. This also means that if NIX_ENFORCE_PURITY is 0 then clang will look in the normal Linux paths by default, which is the proper behavior IMO. polly required an updated isl. When stdenv-updates is merged, perhaps we can update the isl used by gcc and avoid having two versions. Since llvm on its own is now separate from the llvm used by clang, I've removed myself as maintainer from llvm and will leave maintenance of that to those who are interested in llvm separate from clang. Signed-off-by: Shea Levy <shea@shealevy.com>
| * Add Fedora 20Shea Levy2014-01-19
| | | | | | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* | Merge master into stdenv-updatesVladimír Čunát2014-01-18
|\| | | | | | | | | | | | | | | | | | | Conflicts (simple): pkgs/development/compilers/gcc/4.8/default.nix pkgs/development/compilers/llvm/default.nix pkgs/development/libraries/gmp/5.1.1.nix pkgs/development/libraries/gmp/5.1.3.nix pkgs/development/libraries/gmp/5.1.x.nix pkgs/top-level/all-packages.nix
| * Fix Fedora8 vm builds.Rob Vermaas2014-01-15
| |
| * Add a setup hook for fixing dylib install names on DarwinEelco Dolstra2014-01-15
| | | | | | | | | | | | | | Install names need to be absolute paths, otherwise programs that link against the dylib won't work without setting $DYLD_LIBRARY_PATH. Most packages do this correctly, but some (like Boost and ICU) do not. This setup hook absolutizes all install names.
| * Allow specifying extra qemu flags using QEMU_OPTS. Replace CentOS 6.3 with ↵Rob Vermaas2014-01-14
| | | | | | | | CentOS 6.5 (6.3 is removed from site).
| * Merge branch 'java'Eelco Dolstra2014-01-13
| |\
| | * Replace lib/java -> share/javaEelco Dolstra2014-01-09
| | |
| | * Add a setup hook that automatically sets up $CLASSPATHEelco Dolstra2014-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All JARs in $pkg/share/java (for each $pkg in the build inputs) are added to $CLASSPATH. Thus, you can say buildInputs = [ setJavaClassPath someJavaDependency ]; and the JARs in someJavaDependency will be found automatically by tools like javac or ant. Note that the manual used to say that JARs should be installed in lib/java; this is now share/java, following the Debian policy: http://www.debian.org/doc/packaging-manuals/java-policy/x110.html The directory share/java makes more sense because JARs are architecture-independent. (Also, a quick grep shows that we were not exactly consistent about this in Nixpkgs.)
| | * Fix some references to apacheAntOpenJDKEelco Dolstra2014-01-06
| | |
* | | Merge master into stdenv-updatesVladimír Čunát2014-01-12
|\| | | | | | | | | | | | | | | | | Conflicts: pkgs/development/lisp-modules/stumpwm/default.nix (auto-solved) pkgs/top-level/all-packages.nix (trivial)
| * | nix-prefetch-git: Convert relative submodule URLS to absolute URLSWilliam A. Kennington III2014-01-10
| | | | | | | | | | | | | | | | | | nix-prefetch-git does not convert relative submodule urls into absolute urls based on the parent's origin. This patch adds support for repositories which are using the relative url syntax.
| * | debian: Update to 7.3Eelco Dolstra2014-01-06
| | |
| * | Add fetchbower function to go along with bower2nixShea Levy2014-01-06
| |/ | | | | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* | gcc-wrapper: Use -isystem instead of -IEelco Dolstra2014-01-10
| | | | | | | | | | This mostly matters for "gcc -MMD", which distinguishes between user and system header files.
* | Merge master into stdenv-updatesVladimír Čunát2014-01-04
|\| | | | | | | | | | | | | Conflicts: pkgs/development/libraries/glibc/2.18/common.nix (take stdenv-updates) pkgs/misc/emulators/zsnes/default.nix (more complex, build tested) pkgs/top-level/all-packages.nix (auto-solved)
| * Update FLTK and TigerVNC; doesn't fix TigerVNC Xvnc build per seMichael Raskin2014-01-01
| |
| * pkgs/build-support/cabal: the configure-phase warning check can bePeter Simons2013-12-29
| | | | | | | | | | | | | | | | | | disabled by setting 'strictConfigurePhase' to 'false' This is necessary for some packages, like dns, because cabal warns about multiple versions of the same dependency being used, but the usage is fine, actually, so we want the build to succeed. Packages that depend on 'doctest' also have this issue <https://github.com/sol/doctest-haskell/issues/69>.
| * pkgs/build-support/cabal: add 'buildTarget' attribute to allow passing flags ↵Peter Simons2013-12-29
| | | | | | | | to "./Setup build"
| * pkgs/build-support/cabal: clean up the code that sets rpath for shared ↵Peter Simons2013-12-29
| | | | | | | | executables
| * build-support/cabal: recognize the "this package indirectly depends onPeter Simons2013-12-29
| | | | | | | | | | multiple versions of the same package" warning from Cabal and abort the build if it occurs.
* | pkgs/build-support/cabal: add 'buildTarget' attribute to allow passing flags ↵Peter Simons2013-12-16
| | | | | | | | to "./Setup build"
* | pkgs/build-support/cabal: clean up the code that sets rpath for shared ↵Peter Simons2013-12-16
| | | | | | | | executables
* | Merge branch 'origin/master' into stdenv-updates.Peter Simons2013-12-16
|\| | | | | | | | | Conflicts: pkgs/tools/misc/less/default.nix
| * pkgs/build-support/cabal: configure a proper library rpath for dynamically ↵Peter Simons2013-12-16
| | | | | | | | linked executables
* | Merge branch 'master' into stdenv-updates.Peter Simons2013-12-10
|\|
| * haskell: Propagate cabal dependencies to user envBenno Fünfstück2013-12-10
| | | | | | | | | | | | | | | | Before this commit, if a haskell library X depends on Y, and X was added to systemPackages, only X would be available in the user environment. Y would not be avialable, which causes X to be broken. This commit solves the issue by setting propagatedUserEnvPkgs to all packages X depends on when X is a library.
| * cabal: add support for the enableStaticLibrary flag to enable/disable ↵Peter Simons2013-12-10
| | | | | | | | | | | | building of static libraries Disabling static libraries is supported only in GHC 7.7 or later.
* | Merge remote-tracking branch 'origin/master' into stdenv-updates.Peter Simons2013-12-04
|\| | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/interpreters/perl/5.16/default.nix pkgs/tools/networking/curl/default.nix pkgs/top-level/all-packages.nix pkgs/top-level/release-python.nix pkgs/top-level/release-small.nix pkgs/top-level/release.nix
| * Fix nix-prefetch-gitWilliam A. Kennington III2013-11-24
| | | | | | | | | | | | The nix-prefect git script was broken when trying to parse certain groups of submodules. This patch fixes the url detection for submodule repositories to use the more reliable `git config` commands.
| * clang-wrapper: Optionally use libc++ instead of libstdc++.Petr Rockai2013-11-16
| |
| * clang-wrapper: Guard against LD_LIBRARY_PATH.Petr Rockai2013-11-16
| |
| * fetchsvn: handle redirect(s)Bjørn Forsman2013-11-01
| | | | | | | | | | Instead of failing if the server redirects us to a new URL, accept up to 2 redirects by printing 2 extra p's to subversion.
* | Merge branch 'master' into stdenv-updatesMathijs Kwik2013-11-01
|\| | | | | | | | | Conflicts: pkgs/top-level/all-packages.nix
| * Updating SlimerJS to Git version for compatibility with fresh xulrunnerMichael Raskin2013-10-31
| |
| * Adding a facility to generate Lisp module definitions from QuickLisp; no ↵Michael Raskin2013-10-29
| | | | | | | | sane update facility yet; adding Esrap-PEG as a test
| * Back-port Haskell-related improvements from stdenv-updates.Peter Simons2013-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * There now is full support for building Haskell packages as shared libraries for GHC versions 7.4.2 or later. The Cabal builder recognizes the following attributes: - enableSharedLibraries configures Cabal to build of shared libraries in addition to static ones. This option requires that all dependencies of the package have been compiled for use in shared libraries, too. - enableSharedExecutables configures Cabal to prefer shared libraries when linking executables. The default values for these attributes are arguments to the haskellPackages expression. * Haskell builds now run in a LANG="en_US.UTF-8" environment to avoid plenty of build and test suite errors. Without this setting, GHC seems unable to deal with the UTF-8 character encoding that's generally considered standard in the Haskell world. * The Cabal builder supports a new attribute 'testTarget' to specify the exact set of tests to be run during the check phase. * The ghc-wrapper attribute ghcVersion has been removed. Instead, we use the ghc.version attribute, which exists in unwrapped GHC derivations, too.
* | Merge remote-tracking branch 'origin/master' into stdenv-updates.Peter Simons2013-10-26
|\| | | | | | | | | Conflicts: pkgs/top-level/all-packages.nix
| * Build RPMs for i686 rather than i386Eelco Dolstra2013-10-23
| | | | | | | | | | | | | | | | | | | | | | | | The default target (i386-linux) causes flags like "-march i386" to be added, which breaks on recent Fedora releases (18 and up), resulting in errors like: /usr/lib/gcc/i686-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48: undefined reference to `__atomic_fetch_add_4' So set the target to i686-linux. http://hydra.nixos.org/build/6567357
| * Remove currently broken Debian mirrorEelco Dolstra2013-10-23
| |
| * Debian 7: Update to 7.2Eelco Dolstra2013-10-23
| | | | | | | | | | Also rename "debian70" to "debian7" to reflect the Wheezy's new versioning scheme.
| * Debian 6: Update to 6.0.8Eelco Dolstra2013-10-23
| |
| * Add Fedora 19Eelco Dolstra2013-10-23
| |
| * Add Ubuntu 13.10Eelco Dolstra2013-10-23
| |
| * Add conspy Linux console proxyMichael Raskin2013-10-20
| |
* | pkgs/build-support/cabal: stabilize shared linking supportPeter Simons2013-10-20
| | | | | | | | | | | | | | | | | | | | We cannot pass the --{enable,disable}-executable-dynamic flags to GHC versions prior to 7.4.x. Building shared libraries via --{enable,disable}-shared is possible in theory with GHC 6.12.x or later, but doesn't work in practice because our GHC 6.10.x builds don't provide shared versions of their base libraries. This could probably be fixed, but it's probably not worth the effort.