Commit Graph

175037 Commits

Author SHA1 Message Date
Eelco Dolstra
522797e468 * Fix packages.
svn path=/nixpkgs/trunk/; revision=118
2003-07-07 06:43:43 +00:00
Eelco Dolstra
114e76b2a4 * New-style Fix expressions.
svn path=/nixpkgs/trunk/; revision=114
2003-07-04 19:50:24 +00:00
Eelco Dolstra
db92a6b313 * Updated for the new Nix model.
svn path=/nixpkgs/trunk/; revision=98
2003-06-18 17:17:33 +00:00
Eelco Dolstra
8a74e5e56f * Create the union of all directories, not just ["bin", "lib", ...].
svn path=/nixpkgs/trunk/; revision=77
2003-06-03 13:03:06 +00:00
Eelco Dolstra
93c7c89b1a * Descriptors for Berkeley DB and SWIG.
* Updated to Apache httpd 2.0.46.
* Build Subversion/Python bindings.

svn path=/nixpkgs/trunk/; revision=76
2003-05-30 20:57:34 +00:00
Eelco Dolstra
c43c6511f4 * Populate the `man' subdirectory.
svn path=/nixpkgs/trunk/; revision=70
2003-05-30 11:49:43 +00:00
Eelco Dolstra
9878a15478 * Xft support in gtk+ (for anti-aliased fonts :-) ).
The problem of transitive imports needs to be adressed, though, as
  evidenced by, e.g., the descriptor for pan.  That is, if C depends
  on library B, and B depends on library A, then C also depends on
  library A.  However, this breaks modularity: C should not have to
  declare a dependency on A explicitly.

  The solution is to have B re-export A, e.g., by creating symlinks
  from B to the files in A.

svn path=/nixpkgs/trunk/; revision=68
2003-05-28 00:02:55 +00:00
Eelco Dolstra
fec63483b9 * Subversion is also dependant on libxml.
svn path=/nixpkgs/trunk/; revision=67
2003-05-27 11:59:47 +00:00
Eelco Dolstra
a97eec1644 * Updated to Subversion 0.23.0.
svn path=/nixpkgs/trunk/; revision=64
2003-05-26 19:23:10 +00:00
Eelco Dolstra
e501be70c6 * Moved `nix-populate' here.
svn path=/nixpkgs/trunk/; revision=61
2003-05-26 14:03:24 +00:00
Eelco Dolstra
4066121043 * Renamed.
svn path=/nixpkgs/trunk/; revision=60
2003-05-26 13:59:18 +00:00
Eelco Dolstra
02eafbd549 * Some refactoring.
svn path=/nix/trunk/pkg/; revision=57
2003-05-26 13:45:00 +00:00
Eelco Dolstra
426e175c6a * Updated Fix descriptors to reflect the new Fix abstract syntax.
svn path=/nix/trunk/test/; revision=55
2003-05-25 22:43:33 +00:00
Eelco Dolstra
94dbdc53b2 * Cleaned up the semantics of Fix expressions.
* Conditionals and variables in Fix expressions.  This allows, e.g.,

    Descr(
    [ Bind("pkgId", "subversion-0.21.0")

    , Bind("httpsClient", Bool(True))
    , Bind("httpServer", Bool(True))

    , Bind("ssl", If(Var("httpsClient"), Fix("./openssl-0.9.7b.fix"), ""))

    , Bind("httpd", If(Var("httpServer"), Fix("./httpd-2.0.45.fix"), ""))
    ...
    ])

  which introduces domain feature variables httpsClient and httpServer
  (i.e., whether Subversion is built with https client and webdav
  server support); the values of the variables influences package
  dependencies and the build scripts.

  The next step is to allow that packages can express constraints on
  each other.  E.g., StrategoXT is dependent on an ATerm library with
  the "gcc" variant enabled.  In fact, this may cause several
  Nix instantiations to be created from a single Fix descriptor.  If
  possible, Fix should try to find the least set of instantiations
  that obeys the constraints.


svn path=/nix/trunk/test/; revision=53
2003-04-25 15:33:50 +00:00
Eelco Dolstra
7fa3a3f2fa * Removed old Nix descriptors.
svn path=/nix/trunk/test/; revision=50
2003-04-24 11:45:23 +00:00
Eelco Dolstra
935ac37000 * Fix descriptors for Pan and its dependencies.
svn path=/nix/trunk/test/; revision=46
2003-04-23 21:21:06 +00:00
Eelco Dolstra
955ae188b2 * Fix descriptor for Subversion 0.21.0.
svn path=/nix/trunk/test/; revision=45
2003-04-23 09:02:53 +00:00
Eelco Dolstra
d563648841 * Add "... || exit 1" to every command to catch failure.
svn path=/nix/trunk/test/; revision=44
2003-04-23 07:23:01 +00:00
Eelco Dolstra
7dec82e241 * We no longer use nix-populate standalone, rather we use it as a
build action for `system' packages (like system.fix) that have
  dependencies on all packages we want to activate.

  So the command sequence to switch to a new activation configuration
  of the system would be:

    $ fix -i .../fixdescriptors/system.fix
    ...
    system.fix -> 89cf4713b37cc66989304abeb9ea189f

    $ nix-switch 89cf4713b37cc66989304abeb9ea189f

* A nix-profile.sh script that can be included in .bashrc.

svn path=/nix/trunk/test/; revision=39
2003-04-09 12:26:48 +00:00
Eelco Dolstra
81e4ff797d * Descriptor importing in Fix.
svn path=/nix/trunk/test/; revision=38
2003-04-08 15:36:54 +00:00
Eelco Dolstra
6c0e7440ad * `Fix' is a high-level descriptor instantiator for Nix. It replaces
nix-instantiate.

svn path=/nix/trunk/test/; revision=35
2003-04-08 12:00:51 +00:00
Eelco Dolstra
3d459917c2 * Better installation: make directories, create database.
* Fixed the register script.

svn path=/nix/trunk/test/; revision=34
2003-04-06 22:19:26 +00:00
Eelco Dolstra
7d02aa1fd4 * The latest version of Pan.
svn path=/nix/trunk/test/; revision=33
2003-04-06 22:17:47 +00:00
Eelco Dolstra
9552d1fbd7 * Delete source after building.
svn path=/nix/trunk/test/; revision=32
2003-04-06 22:09:47 +00:00
Eelco Dolstra
c72ad03d95 * Importing and exporting of pre-built packages.
svn path=/nix/trunk/test/; revision=28
2003-04-02 15:34:05 +00:00
Eelco Dolstra
cd1ac5c1af * Nix descriptor for Subversion.
svn path=/nix/trunk/test/; revision=26
2003-03-31 14:28:15 +00:00
Eelco Dolstra
d69b96a0e7 * Don't fork in `nix run'.
svn path=/nix/trunk/test/; revision=24
2003-03-28 10:33:34 +00:00
Eelco Dolstra
275f54990f * Allow arguments to be passed to programs in `nix run'.
svn path=/nix/trunk/test/; revision=23
2003-03-28 09:53:22 +00:00
Eelco Dolstra
cca66ea423 * Typo fix.
svn path=/nix/trunk/test/; revision=19
2003-03-24 16:43:52 +00:00
Eelco Dolstra
9f4c56774f * Descriptors now have a "system" field specifying the platform that
the build or run action should be perfomed on.  This ensures that
  descriptors have different hashes on different platforms.

svn path=/nix/trunk/test/; revision=18
2003-03-24 12:49:40 +00:00
Eelco Dolstra
e66c2d684a * A descriptor for running the Pan newsreader.
* Added descriptors for gtkspell and its support package pspell.
  Gtkspell is an optional dependency of Pan, so we should add the
  ability to nix-instantiate to instantiate variants of a package
  based on a selection of features.

svn path=/nix/trunk/test/; revision=16
2003-03-23 23:28:28 +00:00
Eelco Dolstra
24699af6ae * Added a command to list installed packages.
svn path=/nix/trunk/test/; revision=14
2003-03-21 15:58:40 +00:00
Eelco Dolstra
73a58ad97c * Forgot to commit this one.
svn path=/nix/trunk/test/; revision=12
2003-03-21 14:11:44 +00:00
Eelco Dolstra
af4ef1ce4b * Fetch sources from the network.
svn path=/nix/trunk/test/; revision=11
2003-03-21 14:10:06 +00:00
Eelco Dolstra
a82bb22186 * Renamed dist -> build.
svn path=/nix/trunk/test/; revision=10
2003-03-21 09:58:01 +00:00
Eelco Dolstra
7c89415774 * Descriptor templates for the Pan newsreader and all its
dependencies.

svn path=/nix/trunk/test/; revision=9
2003-03-20 22:25:01 +00:00
Eelco Dolstra
2766a4b44e * Improved Nix. Resources (package descriptors and other source
files) are now referenced using their cryptographic hashes.  

  This ensures that if two package descriptors have the same contents,
  then they describe the same package.  This property is not as
  trivial as it sounds: generally import relations cause this property
  not to hold w.r.t. temporality.  But since imports also use hashes
  to reference other packages, equality follows by induction.

svn path=/nix/trunk/pkg/; revision=5
2003-03-14 16:43:14 +00:00