summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Put info files in the man outputEelco Dolstra2013-06-12
|
* gcc: Put runtime libraries in a separate outputEelco Dolstra2013-06-12
| | | | | | | | | | | | | | | GCC provides a number of libraries that are used by programs built by GCC, in particular libgcc_s.so and libstdc++.so. This caused programs that used these libraries to have a runtime dependency on all of GCC (~77 MiB). Now they only depend on the "lib" output of GCC (~1.6 MiB). With this and previous multiple-output improvements, closure sizes are reduced a lot: hello: 41 MiB -> 22 MiB patchelf: 118 MiB -> 23 MiB pan: 364 MiB -> 90 MiB
* glibc: Split into multiple outputsEelco Dolstra2013-06-11
| | | | | | | | | This reduces the size of closures a lot by getting rid of Glibc's header files, static libraries and utilities. For instance, the closure of GNU Hello went from 41 MiB to 22 MiB. TODO: We may want to merge back in parts of Glibc that we previously split off (such as the info files).
* perl: Split off the manpages (7 MiB)Eelco Dolstra2013-06-11
|
* multiple-outputs.nix: Allow not setting configure flagsEelco Dolstra2013-06-11
| | | | Not everything is Autoconf...
* Merge remote-tracking branch 'origin/master' into multiple-outputsEelco Dolstra2013-06-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/libraries/acl/default.nix pkgs/development/libraries/atk/2.6.x.nix pkgs/development/libraries/attr/default.nix pkgs/development/libraries/cairo/default.nix pkgs/development/libraries/freetype/default.nix pkgs/development/libraries/glib/2.34.x.nix pkgs/development/libraries/gtk+/2.24.x.nix pkgs/development/libraries/libtiff/default.nix pkgs/development/libraries/openssl/default.nix pkgs/development/libraries/pango/1.30.x.nix pkgs/misc/cups/default.nix pkgs/os-specific/linux/util-linux/default.nix pkgs/servers/x11/xorg/builder.sh pkgs/servers/x11/xorg/default.nix pkgs/top-level/all-packages.nix
| * fetchsvn: Allow setting the name of the outputShea Levy2013-05-26
| | | | | | | | Signed-off-by: Shea Levy <shea@shealevy.com>
| * fetchhg: allow untrusted certs (merge #540)Jack Cummings2013-05-20
| | | | | | | | It's for fixed-output derivations, security provided by output hash.
| * Adding jq JSON processorMichael Raskin2013-05-20
| |
| * fetchUrl: add curlOpts parameter (merge #535)Gergely Risko2013-05-16
| |
| * runInLinuxImage: Fix derivation overriding.Shea Levy2013-05-15
| | | | | | | | | | | | | | | | | | | | This only ever worked because runInLinuxVM happened to call overrideDerivation, which itself erroneously passed arbitrarily-added attributes to the new call to derivation. Hopefully this time Eelco won't have to revert my change ;) Signed-off-by: Shea Levy <shea@shealevy.com>
| * Some kde wrapper improvements.Lluís Batlle i Rossell2013-05-14
| |
| * DohEelco Dolstra2013-05-13
| |
| * Restore unintentionally deleted lineEelco Dolstra2013-05-13
| |
| * Use Linux 3.9 for VM buildsEelco Dolstra2013-05-13
| | | | | | | | This seems to fix CIFS hangs like: http://hydra.nixos.org/build/4916655
| * Fix some old Fedora buildsEelco Dolstra2013-05-13
| | | | | | | | http://hydra.nixos.org/build/4949447
| * kdewrapper: fixes in env varsLluís Batlle i Rossell2013-05-09
| |
| * Adding a KDE wrapper, to easily have KDE programs in nix-env.Lluís Batlle i Rossell2013-05-09
| | | | | | | | Specially for those not running KDE.
| * Add Fedora 18Eelco Dolstra2013-05-08
| |
| * Add Debian 7.0Eelco Dolstra2013-05-07
| |
| * Add Ubuntu 13.04Eelco Dolstra2013-05-03
| |
| * mirrors.nix: add http://backpan.perl.org/ for old CPAN modulesBjørn Forsman2013-05-03
| | | | | | | | | | It seems only the latest version of perl modules are in CPAN(?). The BackPan claims to have a complete history of CPAN.
| * pkgs/build-support/cabal: disable split-objects for GHC 7.7 builds to work ↵Peter Simons2013-04-24
| | | | | | | | around broken compiler
| * haskell-packages.nix: fix the implementation of 'cabalNoTest'Peter Simons2013-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation used the following tying-the-knot trickery to override 'doCheck' to false for the given build: cabalNoTest = { mkDerivation = x: rec { final = self.cabal.mkDerivation (self: (x final) // { doCheck = false; }); }.final; }; That seemed to work, but for some reason it caused trouble with some builds -- not all -- that use jailbreakCabal. The problem was the 'stdenv' attribute couldn't be evaluated properly anymore: $ nix-build ~/pkgs/top-level/release-haskell.nix -A optparseApplicative.ghc6104.x86_64-linux --show-trace error: while evaluating the attribute `drvPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:19:9': while evaluating the builtin function `derivationStrict': while instantiating the derivation named `haskell-optparse-applicative-ghc6.10.4-0.5.2.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13': while evaluating the derivation attribute `configurePhase' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:107:13': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/strings.nix:55:26': while evaluating the attribute `outPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:18:9': while evaluating the builtin function `getAttr': while evaluating the builtin function `derivationStrict': while instantiating the derivation named `jailbreak-cabal-1.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13': while evaluating the derivation attribute `nativeBuildInputs' at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:76:17': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/lists.nix:135:21': while evaluating the attribute `buildInputs' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:17': while evaluating the builtin function `filter': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:60': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:119:17': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:61:22': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:56:24': while evaluating the builtin function `isAttrs': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:1:1': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:113:20': while evaluating the attribute `final' at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:114:7': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:9:5': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:51:24': while evaluating the attribute `meta.license' at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:17:5': infinite recursion encountered I tried to figure out why this happens, but eventually gave up. The new implementation passes an argument called 'enableCheckPhase' to the Cabal builder, which determines whether the user-specified doCheck value has any effect or not. Now, a normal override can be used to disable unit testing.
| * pkgs/build-support/release/nix-build.nix: unconfuse syntax highlightingPeter Simons2013-04-18
| |
| * gcc-wrapper: avoiding one glibc rebuild, for gcc.crossDrvLluís Batlle i Rossell2013-04-10
| | | | | | | | | | In fact 'glibc.crossDrv' didn't work. I'm not sure it should work; I think it isn't required for much.
| * - fetchbzr and nix-prefetch-bzr now only export, instead of cloningMichael Ashton2013-03-31
| | | | | | | | | | | | | | | | | | | | | | - The option for cloning in nix-prefetch-bzr is removed - ssl certificates are now ignored by fetchbzr This means that no .bzr directory is downloaded. Without this change, the hash of the result is unpredictable, probably because of timestamping in the .bzr directory. Currently, the only package using fetchbzr is kicad.
| * fetchsvn: Add ignoreExternals attribute.aszlig2013-03-27
| | | | | | | | | | | | | | | | | | There are some SVN repositories out there which don't have revision information tied to externals. By using ignoreExternals, fetchsvn won't fetch these externals anymore, so the fetch won't fail with a checksum mismatch, should there be some changes in some of those external repositories. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
| * releaseTools: Add ‘aggregate’ functionEelco Dolstra2013-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An aggregate is a trivial build that depends on other builds. This is intended to provide a declarative replacement of Hydra's "view" mechanism. For instance, you can define an aggregate named "critical" that depends on a selected set of jobs: critical = releaseTools.aggregate { name = "foo-${tarball.version}"; members = [ tarball build.x86_64-linux ... ]; meta.description = "Release-critical builds"; }; The "critical" build will only succeed if all its members (dependencies) succeed.
| * pkgs/build-support/cabal: disable doCheck by default on GHC 7.0.x platformsPeter Simons2013-03-23
| | | | | | | | | | Trying to run the unit tests with GHC 7.0.4 causes so many builds to fail that it's probably not worth-while.
| * Debian VM image: Update to 6.0.7Eelco Dolstra2013-03-15
| |
| * pkgs/build-support/cabal: enable 'doCheck' only on GHC versions 7.x or laterPeter Simons2013-03-11
| | | | | | | | | | Older GHC's come with a version of Cabal that doesn't even understand the --{enable,disable}-tests command line arguments.
| * Adding ZPAQ archiverMichael Raskin2013-03-09
| |
| * Merge branch 'vlada/xfce-notg' of git://github.com/vcunat/nixpkgsShea Levy2013-03-08
| |\ | | | | | | | | | | | | | | | | | | This branch refactors xfce and updates it to 4.10. I had been hoping to find someone besides Vlada to test this (I don't use xfce), but no one has come forward yet in 2 weeks so if this breaks something they can make an issue or fix it. It all looks good by inspection.
| | * vlada/xfceVladimír Čunát2013-02-21
| | | | | | | | | | | | | | | | | | Major Xfce refactoring, also adding versions 4.10.* Signed-off-by: Vladimír Čunát <vcunat@gmail.com>
| * | pkgs/build-support/cabal: disable the split objects feature on Darwin by defaultPeter Simons2013-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | According to <http://hackage.haskell.org/trac/ghc/ticket/4013>, this feature won't work with XCode versions older than 3.2. This means that Mac users will have considerably larger binaries because some build-time dependencies (such as HTTP) will be mis-detected as run-time dependencies.
| * | Merge remote-tracking branch 'origin/master' into stdenv-updatesEelco Dolstra2013-03-07
| |\ \
| | * | Remove some hackeryEelco Dolstra2013-03-06
| | | |
| * | | Merge branch 'master' into stdenv-updatesVladimír Čunát2013-03-02
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts (simple): pkgs/applications/networking/browsers/chromium/default.nix pkgs/development/libraries/libsoup/default.nix pkgs/os-specific/linux/kernel/manual-config.nix pkgs/os-specific/linux/qemu-kvm/default.nix
| | * | build-support/release: Simplify meta.descriptionEelco Dolstra2013-03-01
| | | | | | | | | | | | | | | | | | | | Phrases like "Build of a ..." are redundant because everything is a build.
| | * | pkgs/build-support/cabal: add 'testDepends' to 'extraBuildInputs' if ↵Peter Simons2013-02-25
| | | | | | | | | | | | | | | | 'doCheck' is set to 'true'
| | * | pkgs/build-support/cabal: filter 'doCheck=false' field from the expression ↵Peter Simons2013-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid unnecessary hash changes In the master branch, doCheck defaults to 'false', which means that no package will change its hash unless its doCheck field is set to 'true' explicitly. In the stdenv-updates branch, however, all Haskell packages have a default setting of 'doCheck=true'. Once that branch has been merged, filtering doCheck is no longer necessary.
| | * | pkgs/build-support/cabal: filter internal 'testDepends' field from the ↵Peter Simons2013-02-24
| | | | | | | | | | | | | | | | expression to avoid unnecessary hash changes
| * | | pkgs/build-support/cabal: set 'checkPhase' only if 'doCheck' is truePeter Simons2013-02-24
| | | |
| * | | pkgs/build-support/cabal: enable 'doCheck=true' by defaultPeter Simons2013-02-24
| | | |
| * | | pkgs/build-support/cabal: add 'testDepends' field to specify build-time ↵Peter Simons2013-02-24
| | | | | | | | | | | | | | | | dependencies that are required only for running the test suites
| * | | pkgs/build-support/cabal: unify all non-user-specified configure flags in ↵Peter Simons2013-02-24
| | | | | | | | | | | | | | | | the internal 'extraConfigureFlags' variable
| * | | Merge remote-tracking branch 'origin/master' into stdenv-updates.Peter Simons2013-02-24
| |\| |
| | * | pkgs/build-support/cabal/default.nix: add support for running test suites ↵Peter Simons2013-02-22
| | | | | | | | | | | | | | | | | | | | | | | | via Cabal Set 'doCheck = true' to enable building and running of the test suite.
| * | | Merge branch 'master' into stdenv-updatesShea Levy2013-02-21
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/applications/networking/browsers/chromium/default.nix pkgs/top-level/all-packages.nix Merge conflicts seemed trivial, but a look from viric and aszlig would be nice.