Commit graph

14 commits

Author SHA1 Message Date
Eelco Dolstra e501be70c6 * Moved `nix-populate' here.
svn path=/nixpkgs/trunk/; revision=61
2003-05-26 14:03:24 +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 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 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 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 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