3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

5078 commits

Author SHA1 Message Date
Eelco Dolstra 5e5eeedaa6 * Quick proof-of-concept of making it easy to override package
configuration options in ~/.nixpkgs/config.nix.  Example:

  {
    packageOverrides = pkgs: {
      subversion = pkgs.subversion.function (origArgs: {
        bdbSupport = false;
        pythonBindings = !origArgs.pythonBindings;
      });
    };
  }

  I.e. pkgs.subversion.function is the original function call to the
  Subversion function in all-packages.nix.

  This requires the "subversion" attribute to use makeOverridable,
  which stores the original function and function arguments in the
  "function" attribute of the result.

svn path=/nixpkgs/trunk/; revision=12728
2008-08-26 16:50:33 +00:00
Eelco Dolstra 6dbbd93d03 * Allow packages to be overriden globally via the `packageOverrides'
configuration option.  For instance, to override GCC globally for
  all of Nixpkgs, you can put the following in ~/.nixpkgs/config.nix:

  {
    packageOverrides = pkgs: {
      gcc = pkgs.gcc41;
    }
  }

  This should make a lot of configuration support in Nixpkgs
  unnecessary, like selectVersion and many little-used configuration
  options.

  It also provides a somewhat convenient place to put custom,
  private additions to Nixpkgs, e.g.

  {
    packageOverrides = pkgs: {
      myHello = pkgs.stdenv.mkDerivation {
        name = "my-hello-0.1";
        buildCommand = ...;
      };
    };
  };

  Note that this requires Nix >= 0.12pre12726.

* Removed the `myPackages' option `packageOverrides' obsoletes it.

svn path=/nixpkgs/trunk/; revision=12727
2008-08-26 15:35:00 +00:00
Eelco Dolstra 698328c2af svn path=/nixpkgs/trunk/; revision=12724 2008-08-26 13:27:50 +00:00
Peter Simons f6374fbc5b Add recent versions of the Haskell libraries HTTP, HaXml, haxr, and haxr-th. Unfortunately, the latter library doesn't build successfully because of the following error:
Setup: ../LICENSE: copyFile: does not exist (No such file or directory)

I'm not sure where this comes from. Also, it seems that passing haxr-th the
library haxr as a build input doesn't suffice; it also needs to be passed the
libraries that haxr depends on to configure successfully. Something isn't
right. Andreas, do you know how to fix this?

svn path=/nixpkgs/trunk/; revision=12722
2008-08-26 12:50:03 +00:00
Eelco Dolstra 5b732a061f * QEMU_SMBD_COMMAND is gone.
svn path=/nixpkgs/trunk/; revision=12719
2008-08-26 11:39:10 +00:00
Eelco Dolstra f69b6b4d49 * Remove the QEMU_SMBD_COMMAND environment variable. Instead use
"smbd" from $PATH.

svn path=/nixpkgs/trunk/; revision=12718
2008-08-26 11:28:13 +00:00
Eelco Dolstra 73a050a804 * Create the smbd temporary directory properly (don't fail if it
already exists, but just try another name).  Should send this
  upstream...

svn path=/nixpkgs/trunk/; revision=12717
2008-08-26 11:16:41 +00:00
Eelco Dolstra bb45f8360f * Samba 3.0.32.
svn path=/nixpkgs/trunk/; revision=12716
2008-08-26 11:10:10 +00:00
Ludovic Courtès 74d72ee6bf Cscope: Fix erroneous substitution that caused Cscope to depend on all
of stdenv.

svn path=/nixpkgs/trunk/; revision=12714
2008-08-25 19:34:14 +00:00
Michael Raskin 988a1f1ef3 One more bison inheritance fix
svn path=/nixpkgs/trunk/; revision=12713
2008-08-25 17:55:09 +00:00
Ludovic Courtès 956a4e1ed2 Add Cscope, a C code browser.
svn path=/nixpkgs/trunk/; revision=12711
2008-08-25 15:34:14 +00:00
Eelco Dolstra e33f6df6fa * Test whether "libcursesw" actually exists before symlinking to it.
(Does it ever exist?)

svn path=/nixpkgs/trunk/; revision=12710
2008-08-25 15:29:04 +00:00
Eelco Dolstra 3d6376be35 * nix.cs.uu.nl -> nixos.org.
svn path=/nixpkgs/trunk/; revision=12709
2008-08-25 15:00:29 +00:00
Michael Raskin dbce08a664 Minor fix of "inherit"s.
svn path=/nixpkgs/trunk/; revision=12708
2008-08-25 14:52:53 +00:00
Peter Simons 2d7a15266f bison: use version 2.3 by default (the latest)
svn path=/nixpkgs/trunk/; revision=12703
2008-08-25 13:25:07 +00:00
Peter Simons 0ee3317bc5 boost: added version 1.36.0
Also added support for expat library (used by the graph library). This package
should probably be built on the compile farm because it takes quite a while to
complete, even on a fast machine. Having pre-built binaries would be very nice.

svn path=/nixpkgs/trunk/; revision=12702
2008-08-25 10:00:46 +00:00
Peter Simons 4dba81501f replace: makeFlags is an array
svn path=/nixpkgs/trunk/; revision=12701
2008-08-25 10:00:17 +00:00
Ludovic Courtès eddce10d13 Add GNUnet, GNU's anonymous peer-to-peer communication framework.
svn path=/nixpkgs/trunk/; revision=12699
2008-08-24 18:48:09 +00:00
Armijn Hemel a5deaa8e07 update to 2.4.7, python problems are still there
svn path=/nixpkgs/trunk/; revision=12698
2008-08-23 08:47:14 +00:00
Ludovic Courtès 396ef44630 Git 1.6.0.
svn path=/nixpkgs/trunk/; revision=12697
2008-08-22 21:35:25 +00:00
Ludovic Courtès 3328fd9d3d Add Sparse, a static analysis tool for C.
svn path=/nixpkgs/trunk/; revision=12696
2008-08-22 18:33:52 +00:00
Eelco Dolstra eebb241519 * Write the list of mirrors to a file that we can reuse between
fetchurl instantiations, instead of passing the mirrors to fetchurl
  instantiations via environment variables.  This makes the resulting
  store derivations (.drv files) much smaller, which in turn makes
  nix-env/nix-instantiate faster (4.8 -> 4.2 seconds on nix-env -qa
  --out-path).

svn path=/nixpkgs/trunk/; revision=12695
2008-08-22 15:53:21 +00:00
Eelco Dolstra 4457e49a90 * Linux 2.6.25.16.
svn path=/nixpkgs/trunk/; revision=12693
2008-08-22 12:25:51 +00:00
Michael Raskin 75f1995c0e Atheros update..
svn path=/nixpkgs/trunk/; revision=12692
2008-08-22 12:10:04 +00:00
Eelco Dolstra eb63b86c6d * Doh doh doh! Use the right config file for the 2.6.26 kernel.
svn path=/nixpkgs/trunk/; revision=12690
2008-08-22 10:55:00 +00:00
Eelco Dolstra f27856e3fa * KVM 73.
svn path=/nixpkgs/trunk/; revision=12689
2008-08-22 10:51:37 +00:00
Marc Weber 3091c81082 tm (terminal mixer), ts (task spooler) added, provided by viric
svn path=/nixpkgs/trunk/; revision=12688
2008-08-21 21:35:14 +00:00
Marc Weber 01979f7940 add window-manager dwm contributed by viric
svn path=/nixpkgs/trunk/; revision=12687
2008-08-21 20:44:08 +00:00
Marc Weber 2d354aa6f1 added ngspice
svn path=/nixpkgs/trunk/; revision=12686
2008-08-21 20:43:53 +00:00
Marc Weber a98da2c748 rename devEnvs -> myPackgages in all-packages.nix
The usage is not tight to devEnvs, you can add arbitrary
packages to .nixpkgs/config.nix this way

svn path=/nixpkgs/trunk/; revision=12685
2008-08-21 20:43:37 +00:00
Ludovic Courtès 4162dfe9c5 EMMS: Default to the libtag info back-end for MP3s.
svn path=/nixpkgs/trunk/; revision=12683
2008-08-21 14:56:57 +00:00
Marc Weber e75a56c88e updated repo versions of ghc cabal and http package
svn path=/nixpkgs/trunk/; revision=12682
2008-08-21 11:07:58 +00:00
Marc Weber fa321143d1 bleeding edge repos: only use local tar.gz files when enabled by custom config
svn path=/nixpkgs/trunk/; revision=12681
2008-08-21 11:07:52 +00:00
Marc Weber c4270fb9b8 moved hasktags to ghc68executables, updated url to new location
svn path=/nixpkgs/trunk/; revision=12680
2008-08-21 11:07:44 +00:00
Marc Weber 0686eecf4f slsnif-0.4.4 added
svn path=/nixpkgs/trunk/; revision=12679
2008-08-21 11:07:29 +00:00
Marc Weber d4cf308de6 haxml_darcs updated (it can now parse xhtml dtd)
svn path=/nixpkgs/trunk/; revision=12678
2008-08-21 11:07:16 +00:00
Ludovic Courtès d9bacf89d2 Build EMMS, mpg321 and Vorbis Tools.
svn path=/nixpkgs/trunk/; revision=12676
2008-08-21 09:37:04 +00:00
Ludovic Courtès d4e5ed0596 Add EMMS, the Emacs Multimedia System.
svn path=/nixpkgs/trunk/; revision=12675
2008-08-21 08:58:51 +00:00
Eelco Dolstra 16d317e709 * Linux 2.6.26.3.
svn path=/nixpkgs/trunk/; revision=12674
2008-08-21 08:33:46 +00:00
Eelco Dolstra 6315177c7f * wis-go7007: updated for Linux 2.6.26.
svn path=/nixpkgs/trunk/; revision=12673
2008-08-21 07:43:38 +00:00
Michael Raskin f972b13ac5 A paranoia-induced refactoring, a cleanup of buildInputs bypass in font-related part, fix for builderDefsPackage for cleaner overrides.
svn path=/nixpkgs/trunk/; revision=12671
2008-08-20 11:30:06 +00:00
Michael Raskin a84989091f Refactoring to work with refactored builderDefs
svn path=/nixpkgs/trunk/; revision=12670
2008-08-20 11:21:58 +00:00
Michael Raskin 8ad11e65a7 Version bump
svn path=/nixpkgs/trunk/; revision=12669
2008-08-20 11:21:15 +00:00
Michael Raskin d7acaeb096 Refactorings and removing hard-coded assumptions
svn path=/nixpkgs/trunk/; revision=12668
2008-08-20 11:20:32 +00:00
Michael Raskin a921f752b8 Saner tracing of booleans
svn path=/nixpkgs/trunk/; revision=12667
2008-08-20 08:41:53 +00:00
Michael Raskin ff0d85fdc8 Added traceMarked; it is traceWhatis with the extra (first) argument to distinguish the output of that exat statement.
svn path=/nixpkgs/trunk/; revision=12666
2008-08-20 08:21:54 +00:00
Michael Raskin a8da119da4 Silly mistake fixed
svn path=/nixpkgs/trunk/; revision=12665
2008-08-20 07:17:55 +00:00
Michael Raskin 97e15cc2b8 Noticed an associativity direction problem
svn path=/nixpkgs/trunk/; revision=12664
2008-08-20 06:45:14 +00:00
Michael Raskin 69e4f17372 Added null recognition to whatis
svn path=/nixpkgs/trunk/; revision=12663
2008-08-20 04:34:28 +00:00
Marc Weber 9d181d621f updated nixRepositoryManager
now you can use specify another source file for testing in a nix way

svn path=/nixpkgs/trunk/; revision=12662
2008-08-19 13:31:52 +00:00