summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* * Allow post/pre-install hooks.Eelco Dolstra2008-02-12
| | | | svn path=/nixpkgs/trunk/; revision=10629
* Added Savannah mirror list (source suggested by Ludovic Court\`es)Michael Raskin2008-02-05
| | | | svn path=/nixpkgs/trunk/; revision=10509
* * makeWrapper: option --run <CMD> to run a command from the wrapper.Eelco Dolstra2008-01-18
| | | | | | | | | This is so that the Unison wrapper can be generated with makeWrapper. * Use makeWrapper as a buildInput everywhere. * Updated BitTorrent, cvs2svn. svn path=/nixpkgs/trunk/; revision=10213
* * makeWrapper: new function that transparently takes care of creatingEelco Dolstra2008-01-18
| | | | | | | | | | | | | | | | | | a wrapper script. E.g. wrapProgram $out/bin/prog --set FOO bar will create a wrapper around "prog" so that the environment variable FOO is set to bar. The original program is renamed to $out/bin/.wrapped-prog. * Function makeSetupHook to convert a script into a setup hook which can be included in buildInputs. This makes it easier to use scripts like makeWrapper. * Added Bazaar, yet another distributed version management system. svn path=/nixpkgs/trunk/; revision=10211
* * mirror:// for Gentoo distfiles.Eelco Dolstra2008-01-16
| | | | svn path=/nixpkgs/trunk/; revision=10174
* Michael Raskin2007-12-04
| | | | svn path=/nixpkgs/trunk/; revision=9861
* implemented proposal by niksnut.Marc Weber2007-11-13
| | | | | | Now you have to use either date= or tag= when specifying cvs revision svn path=/nixpkgs/trunk/; revision=9661
* Synergy added and fetchcvs modified (see mailinglist post)Marc Weber2007-11-11
| | | | svn path=/nixpkgs/trunk/; revision=9624
* Fixed option checker after changin option format.Michael Raskin2007-11-10
| | | | svn path=/nixpkgs/trunk/; revision=9621
* Options for kernel and checker for configuration.nixMichael Raskin2007-09-25
| | | | svn path=/nixpkgs/trunk/; revision=9371
* mirrors: sf: alias for sourceforgeYury G. Kudryashov2007-09-22
| | | | svn path=/nixpkgs/trunk/; revision=9356
* * KDE 3.5.7.Eelco Dolstra2007-09-21
| | | | | | * Mirror scheme "mirror://kde/". svn path=/nixpkgs/trunk/; revision=9353
* * Allow the user to override the list of mirrors for specificEelco Dolstra2007-09-11
| | | | | | | | | | | | mirror:// sites through environment variables, e.g. NIX_MIRRORS_gnu="ftp://ftp.nluug.nl/pub/gnu/ ftp://ftp.gnu.org/pub/gnu/" or NIX_MIRRORS_sourceforge="http://surfnet.dl.sourceforge.net/sourceforge/" svn path=/nixpkgs/trunk/; revision=9302
* * Allow the user to override the list of content-addressable mirrorsEelco Dolstra2007-09-11
| | | | | | | from the command-line by setting the NIX_HASHED_MIRRORS environment variable. svn path=/nixpkgs/trunk/; revision=9301
* hash check removed because the nix system does it..Marc Weber2007-09-07
| | | | svn path=/nixpkgs/trunk/; revision=9279
* commented out avrdude which is using unstable lib functions,Marc Weber2007-09-04
| | | | | | missing fetchhg expression added svn path=/nixpkgs/trunk/; revision=9249
* * Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead ofEelco Dolstra2007-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | fetchurl { url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2; md5 = "8306775c6a11de4d72345b5eee970ea6"; }; you can write fetchurl { url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2; md5 = "8306775c6a11de4d72345b5eee970ea6"; }; which causes fetchurl to try the SourceForge mirrors listed in the `sourceforge' attribute in build-support/fetchurl/mirrors.nix. (They're currently tried in sequence, and the lists of mirrors are not configurable yet.) The syntax for mirror URLs is mirror://site/path/to/file, where `site' is currently one of `sourceforge', `gnu' (mirrors of ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of http://www.all.kernel.org/pub/). svn path=/nixpkgs/trunk/; revision=9197
* * Basic transparent mirror support in fetchurl (NIXPKGS-70). WhenEelco Dolstra2007-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | fetching a file with hash HASH of type TYPE, we first try to download <base-url>/<type>/<hash>, where <base-url> is one of a list of mirrors. For instance, given src = fetchurl { url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.6/source/firefox-2.0.0.6-source.tar.bz2; sha1 = "eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082"; }; and the mirror list [http://nix.cs.uu.nl/dist/tarballs], we first try to download http://nix.cs.uu.nl/dist/tarballs/sha1/eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082 and if that fails, we use the original URL. The list of mirrors is not yet user-configurable. * `fetchurl' now also accepts an argument `urls' instead of `url' for a list of alternative download locations, which fetchurl will try in sequence. svn path=/nixpkgs/trunk/; revision=9190
* * /var/state -> /var/run.Eelco Dolstra2007-06-09
| | | | svn path=/nixpkgs/trunk/; revision=8851
* * Give the real GCC a lower priority than the GCC wrapper so that bothEelco Dolstra2007-05-31
| | | | | | | can be installed in a user environment without conflict. This is useful if you need gcov (which isn't symlinked in the GCC wrapper). svn path=/nixpkgs/trunk/; revision=8809
* nixpkgs dir: nvidia and libsrvgWouter den Breejen2007-05-28
| | | | svn path=/nixpkgs/trunk/; revision=8785
* * Merge gcc-wrapper-new.Eelco Dolstra2007-05-24
| | | | svn path=/nixpkgs/trunk/; revision=8758
* * wrapGCC: pass the right purity options for the platform.Eelco Dolstra2007-05-16
| | | | svn path=/nixpkgs/trunk/; revision=8710
* * Fix weird behaviour with "gcc -v" due to linker flags being appendedEelco Dolstra2007-05-02
| | | | | | | | | | | | to the gcc invocation. If we pass a flag like -Wl, then gcc will call the linker unless it can figure out that it has to do something else (e.g., because of a "-c" flag). So if no non-flag arguments are given, don't pass any linker flags. This catches cases like "gcc" (should just print "gcc: no input files") and "gcc -v" (should print the version). svn path=/nixpkgs/trunk/; revision=8644
* * Process packages in the specified order (i.e., don't sort).Eelco Dolstra2007-03-04
| | | | svn path=/nixpkgs/trunk/; revision=8166
* * fetchurl: accept an optional name. Useful for file names that containEelco Dolstra2007-03-02
| | | | | | unacceptable characters (such as ? on Windows). svn path=/nixpkgs/trunk/; revision=8149
* * Look for the current OpenGL driver in /var/state/opengl-driver.Eelco Dolstra2007-02-27
| | | | svn path=/nixpkgs/trunk/; revision=8068
* * Remove references to substitute.sh.Eelco Dolstra2006-12-27
| | | | svn path=/nixpkgs/trunk/; revision=7499
* * Merge the new generic builder.Eelco Dolstra2006-12-27
| | | | | | | | | * Removed substitute, it's part of the generic builder now. * stdenv-initial (Linux): use the real generic builder script. This does require that sed is in the path of the builder of the initial stdenv. svn path=/nixpkgs/trunk/; revision=7498
* * Handle weird cases when the server redirects us while setting aEelco Dolstra2006-12-15
| | | | | | cookie. svn path=/nixpkgs/trunk/; revision=7352
* * Move the substitution functions into stdenv (not merged yet).Eelco Dolstra2006-12-10
| | | | | | | | | | | * If the environment variable buildCommand is set, then eval that instead of doing the build phases. This is used by the runCommand function in all-packages.nix to allow one-lines like foo = runCommand "foo" {} "mkdir $out; echo foo > $out/foo"; svn path=/nixpkgs/trunk/; revision=7298
* * Fork of build-env in the Nix distribution. This one supportsEelco Dolstra2006-11-28
| | | | | | ignoring collisions and selectively including directories. svn path=/nixpkgs/trunk/; revision=7160
* * Allow the result to be stored somewhere else than $out.Eelco Dolstra2006-11-08
| | | | svn path=/nixpkgs/trunk/; revision=6978
* * Turn the nukeRefs() function into a separate program.Eelco Dolstra2006-11-03
| | | | svn path=/nixpkgs/trunk/; revision=6941
* * Utility: the generic substituter. It substitutes all occurences ofEelco Dolstra2006-11-02
| | | | | | | | | | | | | | | | | `@var@' in the file `src', writing the result to $out, where `var' is any environment variable starting with a lowercase character. Example: genericSubstituter { src = ./file; foo = "bla"; shell = bash + "/bin/sh"; }; will replace `@foo@' with `bla' and `@shell@' with `/nix/store/...-bash-.../bin/sh'. svn path=/nixpkgs/trunk/; revision=6928
* * Don't use EPSV.Eelco Dolstra2006-10-28
| | | | svn path=/nixpkgs/trunk/; revision=6894
* * nativeGlibc -> nativeLibc (gcc-cross-wrapper is probably brokenEelco Dolstra2006-10-27
| | | | | | right now; should merge gcc-wrapper changes). svn path=/nixpkgs/trunk/; revision=6876
* * Argggggghhhh.Eelco Dolstra2006-10-27
| | | | svn path=/nixpkgs/trunk/; revision=6872
* * Doh.Eelco Dolstra2006-10-26
| | | | svn path=/nixpkgs/trunk/; revision=6866
* * Put a symlink to the assembler in the GCC wrapper. Otherwise, whenEelco Dolstra2006-10-26
| | | | | | | | we use the GCC wrapper in a user environment, the wrong assembler will be called. This is not usually a problem, but sometimes it is (e.g., when using G++ 4.1.1 with binutils 2.16 or so). svn path=/nixpkgs/trunk/; revision=6862
* * Add -B$gcc/lib64 when appropriate. This is so that configureEelco Dolstra2006-10-25
| | | | | | | (calling gcc -print-search-dirs) builds a libtool that searches in lib64 for libstdc++.so. svn path=/nixpkgs/trunk/; revision=6850
* * gcc-wrapper: separately store the flags necessary to find GCC andEelco Dolstra2006-10-24
| | | | | | | | | | | | | | | Glibc. This is useful when building GCC. * gcc-wrapper: the dynamic linker has a different name on x86_64 and powerpc. * gcc-wrapper: "glibc" -> "libc", because someday we might support different C libraries. * gcc: don't do a multilib build (e.g., 32-bit support on x86_64), don't need it. * gcc: merge in support for static builds. * gcc: various simplifications in the compiler/linker flags, hope they work. svn path=/nixpkgs/trunk/; revision=6823
* * Add $pkg/lib64 (if it exists) to the library search path in additionEelco Dolstra2006-10-24
| | | | | | to $pkg/lib. svn path=/nixpkgs/trunk/; revision=6820
* * Don't pollute /tmp.Eelco Dolstra2006-07-18
| | | | svn path=/nixpkgs/trunk/; revision=5769
* * Show less garbage.Eelco Dolstra2006-07-17
| | | | svn path=/nixpkgs/trunk/; revision=5761
* Added ssh support to fetchsvnMartin Bravenboer2006-07-17
| | | | svn path=/nixpkgs/trunk/; revision=5734
* * Add nmedit.Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5713
* * Probably need "nm" etc. as well.Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5712
* * Better stdenv for Darwin: uses gcc, coreutils etc. built in Nix, butEelco Dolstra2006-07-14
| | | | | | external binutils (i.e., Apple's cctools in /usr/bin). svn path=/nixpkgs/trunk/; revision=5706
* * More hackery.Eelco Dolstra2006-05-31
| | | | svn path=/nixpkgs/trunk/; revision=5351