summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* * 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
* * fetchurl: use standard proxy-related variables from the caller suchEelco Dolstra2006-05-31
| | | | | | as `http_proxy'. svn path=/nixpkgs/trunk/; revision=5347
* * We no longer need the prefetch stuff.Eelco Dolstra2006-05-30
| | | | svn path=/nixpkgs/trunk/; revision=5340
* * Make nix-prefetch-svn use nix-store --add-fixed (just likeEelco Dolstra2006-05-30
| | | | | | nix-prefetch-url) svn path=/nixpkgs/trunk/; revision=5339
* Added fetchcvs.Roy van den Broek2006-05-11
| | | | svn path=/nixpkgs/trunk/; revision=5295
* * Do use readlink if available.Eelco Dolstra2006-05-02
| | | | svn path=/nixpkgs/trunk/; revision=5252
* * system -> top-level.Eelco Dolstra2006-03-30
| | | | svn path=/nixpkgs/trunk/; revision=5128
* * Filter out the meta attribute.Eelco Dolstra2006-03-24
| | | | svn path=/nixpkgs/trunk/; revision=5091
* * Merged the usability branch (from trunk@4749 to branches/usability@5087).Eelco Dolstra2006-03-24
|\ | | | | | | svn path=/nixpkgs/trunk/; revision=5088
| * * stdenv.mkDerivation now takes an optional attribute "meta" thatEelco Dolstra2006-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains arbitrary information about a package, like this: meta = { homepage = "http://gcc.gnu.org/"; license = "GPL/LGPL"; description = "GNU Compiler Collection, 4.0.x"; }; The "meta" attribute is not passed to the actual derivation operation, so it's not a dependency --- changes to "meta" attributes don't trigger a recompilation. Now we have to standardise some useful attributes ;-) svn path=/nixpkgs/branches/usability/; revision=5024
* | * Don't use i686-linux.nix.Eelco Dolstra2006-03-15
| | | | | | | | svn path=/nixpkgs/trunk/; revision=5046
* | * Removed readlink.Eelco Dolstra2006-03-15
| | | | | | | | svn path=/nixpkgs/trunk/; revision=5040
* | make sure we can find things like mips-linux-ar, mips-linux-strip, and so on.Armijn Hemel2006-03-02
|/ | | | | | | Even though you could just inherit binutils it is conceptually cleaner (I think) to make these tools available here. svn path=/nixpkgs/trunk/; revision=4967
* * updated darcs to 1.0.5, added curl dependencyAndres Löh2006-01-30
| | | | | | | * added an experimental fetchdarcs function, based on fetchsvn (there are no expressions yet that use this function) svn path=/nixpkgs/trunk/; revision=4615
* * A quick hack to get accelerated OpenGL working: just use the driverEelco Dolstra2006-01-28
| | | | | | | | | | | | | | | | in /usr/lib/libGL.so.1 (which will typically load a driver in /usr/X11R6/lib/modules/dri). This has been tested on a i915 graphics card; it should work with most open source X.org drivers. For NVidia's proprietary drivers (which we cannot build ourselves anyway), some more symlinks are necessary; I'll add those later. So to get hardware-accelerated Quake 3, do: $ nix-env -p /nix/var/nix/profiles/opengl -i xorg-sys-opengl $ nix-env -i quake3-demo $ quake3 svn path=/nixpkgs/trunk/; revision=4613
* * In Quake 3, by default use Mesa as the OpenGL implementation. ButEelco Dolstra2006-01-28
| | | | | | | | | | | | | | | | | | | | allow the OpenGL implementation to be overriden through the OPENGL_DRIVER environment variable. If it is not set, we use the implementation installed in the profile /nix/var/nix/profiles/opengl, allowing easy late binding by the user, e.g., $ nix-env -p /nix/var/nix/profiles/opengl -i nvidia-sys-opengl might install the NVidia OpenGL implementation. The code that does this is not specific to Quake 3: it has been factored out into build-support/opengl/mesa-switch.sh. Presumably any application that requires hardware-accelerated OpenGL needs it. * Add the Quake 3 demo to the cache. svn path=/nixpkgs/trunk/; revision=4612
* * Pipe the "p" character into Subversion to force it to accept theEelco Dolstra2005-12-15
| | | | | | | | server's certificate. This is perfectly safe: we don't care whether the server is being spoofed --- only the cryptographic hash of the output matters. svn path=/nixpkgs/trunk/; revision=4377
* * Use a restrictive umask to prevent permission problems.Eelco Dolstra2005-12-15
| | | | svn path=/nixpkgs/trunk/; revision=4374
* * Make sure that `gcc -v' (i.e., with no other arguments) does theEelco Dolstra2005-12-15
| | | | | | | | right thing. This is necessary to make libtool detect g++ properly. (Fixes the `libtool: compile: unable to infer tagged configuration' error on FreeBSD when building Berkeley DB 4.4.) svn path=/nixpkgs/trunk/; revision=4370
* * "." -> "source".Eelco Dolstra2005-12-05
| | | | svn path=/nixpkgs/trunk/; revision=4335
* add a wrapper for cross compilers, which makes the correct link to the cross ↵Armijn Hemel2005-11-29
| | | | | | compiler. Only works for "gcc", haven't tried for g++ and the others svn path=/nixpkgs/trunk/; revision=4317
* * Make the grep call optional.Eelco Dolstra2005-07-13
| | | | svn path=/nixpkgs/trunk/; revision=3330
* * r3317 was wrong: grep should be applied to gcc's stderr, not stdout.Eelco Dolstra2005-07-13
| | | | svn path=/nixpkgs/trunk/; revision=3329
* * Make gcc work properly again in nix-env installations (e.g., whenEelco Dolstra2005-07-12
| | | | | | used outside of builders). svn path=/nixpkgs/trunk/; revision=3317
* * Remove FreeBSD gcc wrapper.Eelco Dolstra2005-06-17
| | | | svn path=/nixpkgs/trunk/; revision=3187
* * Merge r3019.Eelco Dolstra2005-06-17
| | | | svn path=/nixpkgs/trunk/; revision=3186
* * Add a simple standard environment for FreeBSD.Eelco Dolstra2005-05-10
| | | | | | | * Use the system Perl on all non-i686-linux platforms. * Don't build Python support in libxml2 on most platforms. svn path=/nixpkgs/trunk/; revision=3019