Commit graph

73831 commits

Author SHA1 Message Date
Eelco Dolstra
e019265ec9 * Scripts to set up and run the absolute minimal pure Nix
environment; that is, an operating system environment in which there
  is (essentially) only a store.

  The script `make-disk.sh' creates an ext2 disk image, creates a Nix
  store in it, and copies the closure of the bash package (from
  nixpkgs) to it.  The script `run.sh' then starts bash in a UML
  virtual machine.

  The contents of the image after creation look like this:

  $ ls -l
  drwxr-xr-x    2 root     root         1024 2004-02-14 19:13 dev
  lrwxrwxrwx    1 root     root           61 2004-02-14 23:34 init -> /nix/store/e40873ece7a010752ad72b4262b23d28-bash-2.05b/bin/sh
  drwx------    2 root     root        12288 2004-02-14 19:13 lost+found
  drwxr-xr-x    4 root     root         1024 2004-02-14 19:13 nix
  drwxr-xr-x    2 root     root         1024 2004-02-14 19:13 proc
  drwxrwxrwt    2 root     root         1024 2004-02-14 19:13 tmp

  The next step is to add all the other stuff that goes into a working
  system (coreutils, etc.).  BTW, if you don't have `ls' you can still
  list directories by doing `echo *' :-)

  Nix itself should also be Nixified so that it can be put into the
  store.

svn path=/nixu/trunk/; revision=783
2004-02-14 22:56:51 +00:00
Eelco Dolstra
d6a58594d2 * User-Mode Linux and GNU Patch.
svn path=/nixpkgs/trunk/; revision=779
2004-02-13 14:42:28 +00:00
Eelco Dolstra
191a465665 * Added GHC and Helium. Note that GHC is built using a pre-built GHC
for Linux/x86, which is not pure and doesn't work on other
  platforms!

svn path=/nixpkgs/trunk/; revision=776
2004-02-12 13:18:24 +00:00
Eelco Dolstra
73049cea22 * Ugh.
svn path=/nixpkgs/trunk/; revision=774
2004-02-10 18:32:42 +00:00
Eelco Dolstra
ecbf66674f * Override packages in stdenvLinux with those already built in earlier
stages of the bootstrap process (i.e., stdenvLinuxBoot).
* Add those packages to the distribution.  We didn't do that before
  because it would cause them to be built twice.

svn path=/nixpkgs/trunk/; revision=753
2004-02-04 17:25:51 +00:00
Martin Bravenboer
103d1b2c83 Added version 2.6.5 of libxml2
svn path=/nixpkgs/trunk/; revision=750
2004-02-04 16:36:22 +00:00
Eelco Dolstra
9a4afa3f94 * Fix undefined variables.
svn path=/nixpkgs/trunk/; revision=744
2004-02-03 14:44:48 +00:00
Eelco Dolstra
9d9c76529f * Use the `inherit' syntax.
svn path=/nixpkgs/trunk/; revision=740
2004-02-02 21:40:18 +00:00
Eelco Dolstra
3f6bf521fc * Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
2004-01-30 17:23:34 +00:00
Eelco Dolstra
9249f4c892 * Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
2004-01-30 15:52:17 +00:00
Eelco Dolstra
744c434349 * Missing semicolon.
svn path=/nixpkgs/trunk/; revision=729
2004-01-30 15:44:56 +00:00
Eelco Dolstra
c0bdcfe274 * A much newer version of flex. The old (GNU) one was from 1997.
svn path=/nixpkgs/trunk/; revision=727
2004-01-30 10:10:06 +00:00
Eelco Dolstra
66c3040dbb * Semicolons at the end of an attrset are now required.
svn path=/nixpkgs/trunk/; revision=726
2004-01-29 14:28:16 +00:00
Eelco Dolstra
7000802ae8 * Upgrade to Subversion 0.37.0.
svn path=/nixpkgs/trunk/; revision=724
2004-01-27 14:39:05 +00:00
Eelco Dolstra
41c54dd4d9 * j2sdk should not refer to /tmp/j2sdk-1_4_2_03-linux-i586.bin in this
way, since it prevents store expression from being instantiated from
  all-packages-generic.nix. 

svn path=/nixpkgs/trunk/; revision=721
2004-01-26 11:05:07 +00:00
Eelco Dolstra
9db5df37f9 * Added cksfv, a program for verifying sfv checksum files.
svn path=/nixpkgs/trunk/; revision=720
2004-01-25 08:59:20 +00:00
Eelco Dolstra
91184df3b2 * Teletext support for zapping.
svn path=/nixpkgs/trunk/; revision=719
2004-01-25 08:51:03 +00:00
Martin Bravenboer
d9cebb072f Added Apache Ant, including configuration of JAVA_HOME and ANT_HOME. Currently only the shell script is patched, but this one is used most in practice.
svn path=/nixpkgs/trunk/; revision=718
2004-01-25 00:50:00 +00:00
Martin Bravenboer
d427c4271d java is a trademark, not a product
svn path=/nixpkgs/trunk/; revision=717
2004-01-24 23:46:40 +00:00
Martin Bravenboer
067726f3e2 * Added the j2sdk of Sun for Linux. Downloading this thing is
a big problem, so I decided to require to user to get the
          file and put it in some location in the file system. wget
          doesn't seem to accept the file scheme however, so I had to
          move the copying into the builder itself. The builder checks
          the md5 hash of the downloaded file. Maybe having a separate
          'fetchfile' would be useful to make a file in the outside
          world pure. I tried to add this to build-support, but this
          obviously did not work. I still committed it. Just remove it
          if you think that it sucks.

svn path=/nixpkgs/trunk/; revision=716
2004-01-24 23:46:00 +00:00
Martin Bravenboer
02a4d8ece5 Added jikes, IBM's open source java compiler.
svn path=/nixpkgs/trunk/; revision=715
2004-01-24 22:50:47 +00:00
Martin Bravenboer
94f9bd408e Added the j2re for Linux. My installation of Eclipse runs on an j2re installed in Nix, so I guess it works pretty well. Of course other platforms should be added. This version will not be installed if the platform is not i686-linux.
svn path=/nixpkgs/trunk/; revision=714
2004-01-24 22:04:09 +00:00
Martin Bravenboer
7e813f0999 Added all indivudual packages of the sdf2-bundle
svn path=/nixpkgs/trunk/; revision=708
2004-01-22 19:55:37 +00:00
Martin Bravenboer
4c14c369fe Added sglr
svn path=/nixpkgs/trunk/; revision=707
2004-01-22 19:09:49 +00:00
Martin Bravenboer
362cba8ada Added pt-support 1.0
svn path=/nixpkgs/trunk/; revision=706
2004-01-22 18:57:34 +00:00
Martin Bravenboer
3d0e24c639 Added toolbuslib. This is fun
svn path=/nixpkgs/trunk/; revision=705
2004-01-22 18:46:26 +00:00
Martin Bravenboer
ffa5434646 Expression for aterm 2.0.5 at CWI
svn path=/nixpkgs/trunk/; revision=704
2004-01-22 18:13:16 +00:00
Eelco Dolstra
7bee8f0414 * Added Valgrind.
svn path=/nixpkgs/trunk/; revision=685
2004-01-21 14:50:18 +00:00
Eelco Dolstra
50405c5948 * Obscure bug: Zapping needs gettext, otherwise the Automake variable
DATADIRNAME is not set.

svn path=/nixpkgs/trunk/; revision=682
2004-01-21 13:17:18 +00:00
Eelco Dolstra
823b3e4770 * Added `zapping', a TV viewer application. It depends on Gnome, so
lots of packages are needed.

svn path=/nixpkgs/trunk/; revision=681
2004-01-21 09:34:19 +00:00
Eelco Dolstra
e0f8b5d722 * Updated to 0.9.8a.
svn path=/nixpkgs/trunk/; revision=674
2004-01-20 20:29:57 +00:00
Eelco Dolstra
9baed5046d * Upgraded to Subversion 0.36.0.
svn path=/nixpkgs/trunk/; revision=659
2004-01-16 11:26:38 +00:00
Eelco Dolstra
8742115007 * Use an actual release of StrategoXT.
svn path=/nixpkgs/trunk/; revision=655
2004-01-15 16:25:21 +00:00
Eelco Dolstra
7b141f7f5a * Build more packages in the distribution of nixpkgs.
svn path=/nixpkgs/trunk/; revision=654
2004-01-15 16:17:58 +00:00
Eelco Dolstra
9b0306fb9b * Added a version number.
svn path=/nixpkgs/trunk/; revision=641
2004-01-13 15:29:15 +00:00
Eelco Dolstra
7ac37f8ee9 * The set of derivations to be built by the automatic release system.
svn path=/nixpkgs/trunk/; revision=640
2004-01-13 14:39:29 +00:00
Eelco Dolstra
de40a2c191 * Idem.
svn path=/nixpkgs/trunk/; revision=634
2004-01-12 15:29:15 +00:00
Eelco Dolstra
5f0cf96dbb * Moved here (doesn't belong in nixpkgs).
svn path=/nixpkgs/trunk/; revision=633
2004-01-12 15:27:38 +00:00
Eelco Dolstra
19c6f730c3 * Use http authentication to upload a release to the server. We
should also use https on catamaran for uploads, but I don't do that
  yet.
* Better error checking.

svn path=/nixpkgs/trunk/; revision=630
2004-01-12 13:35:57 +00:00
Eelco Dolstra
f2eab1a900 * Upload to catamaran instead of losser.
svn path=/nixpkgs/trunk/; revision=628
2004-01-09 16:14:16 +00:00
Eelco Dolstra
a117391400 * Upgraded to 1.64.1.
svn path=/nixpkgs/trunk/; revision=624
2004-01-08 14:35:37 +00:00
Eelco Dolstra
8984ebdeb8 * Consolidate upload.pl into create-dist.pl.
svn path=/nixpkgs/trunk/; revision=622
2004-01-07 16:08:31 +00:00
Eelco Dolstra
f8554f0b81 * Use BDB 4.2.52.
svn path=/nixpkgs/trunk/; revision=621
2004-01-07 16:07:43 +00:00
Eelco Dolstra
0230509c1c * Publish releases on the Nix Wiki.
svn path=/nixpkgs/trunk/; revision=620
2004-01-07 16:07:18 +00:00
Eelco Dolstra
e586e68d9b * Upload manual with images.
svn path=/nixpkgs/trunk/; revision=617
2004-01-06 17:07:50 +00:00
Eelco Dolstra
546f48b3e1 * Upload entire directories.
svn path=/nixpkgs/trunk/; revision=616
2004-01-06 17:06:18 +00:00
Eelco Dolstra
b75f6860da * A better server-side release upload script.
svn path=/nixpkgs/trunk/; revision=615
2004-01-06 16:47:28 +00:00
Eelco Dolstra
91aafbcae4 * Automatically build and upload RPMs. Building an RPM is not a pure Nix action, but
we use Nix to do it anyway.

svn path=/nixpkgs/trunk/; revision=610
2004-01-02 16:39:35 +00:00
Eelco Visser
35fa436449 unused
svn path=/nixpkgs/trunk/; revision=606
2003-12-30 21:16:58 +00:00
Eelco Visser
bad05cd2b6 A first attempt at generic release management. The goal
is to fully automate the building of distributions and
their release for distribution through a web-site, ftp
directory, etc. Inspired by nix-dist, but more generic
in order to deal with StrategoXT and related packages. 

The assumptions are the following:

  - package source is a subversion repository
  - the package is under autotool configuration
    (at least it has a configure.in with an AC_INIT)
  - standard autotools build interface:
    - bootstrap; configure; make install; 
      make check; make dist
  - optionally the release status can be indicated by
    a status="..." definition in configure.in

Creation of distributions is a two-step process:

  urls-to-nix.sh  # nix expressions for most recent commits
  build+upload.sh # instantiate the expressions

svn-to-nix.sh 

   Generates nix expression for head revision of the
   package; revision number, package name, and version
   are obtained from the source and do not have to
   be declared.

urls-to-nix.sh

   Contains a list of URLs to which svn-to-nix.sh is applied.

build+upload.sh

   Builds the packages and creates distributions in a www
   directory. Including the log of the build process (buildfarm)
   and files such as NEWS and README (for release management).
   (upload part of the script is currently turned off)

do-it.nix

   Top nix expression; collects pointers to required packages
   (e.g., stdenv, autotools, aterms, ...) and binds them
   to the parameters of the source-dist.nix packages.

package-source-dist.nix

   Generic Nix expression for a package parameterized with
   version info from svn and dependency info from do-it.nix.

package-dist.nix

   Generated; just imports 

package-version-rev.nix

   Generated; instantiates package-source-dist.nix with version,
   name, packagename, rev.

build-from-svn.sh

   Generic build script; obtains configuration flags from
   with... and enable... attributes of the Nix expression.
   Creates logs of the various parts of the build process.
   Creates distribution

Generalizations:

- Currently some information about a package resides in
  this directory, e.g., the generic Nix expression for
  a package, and the composition of the overall do-it.nix
  This information should also be obtained from the source
  tree.

- Upload facility lacking.
 



svn path=/nixpkgs/trunk/; revision=605
2003-12-30 21:14:48 +00:00