* A package that builds source distributions of Nix. It fetches the
source from Subversion, runs autoreconf and configure, and does a `make dist'. The revision number is currently hard-coded into `nix-dist.fix'. svn path=/nixpkgs/trunk/; revision=302
This commit is contained in:
parent
dd19f0b526
commit
1445fe4a26
12
pkgs/nix-dist/nix-dist-build.sh
Executable file
12
pkgs/nix-dist/nix-dist-build.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
cp --preserve=all -rv $src nix
|
||||
cd nix || exit 1
|
||||
cp -p $bdbSrc externals/db-4.0.14.tar.gz || exit 1
|
||||
cp -p $atermSrc externals/aterm-2.0.tar.gz || exit 1
|
||||
autoreconf -i || exit 1
|
||||
./configure || exit 1
|
||||
make dist || exit 1
|
||||
cp nix-0.2pre1.tar.gz $out || exit 1
|
23
pkgs/nix-dist/nix-dist.fix
Normal file
23
pkgs/nix-dist/nix-dist.fix
Normal file
@ -0,0 +1,23 @@
|
||||
Package(
|
||||
[ ("name", "nix-dist")
|
||||
, ("build", Relative("nix-dist/nix-dist-build.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchsvn/fetchsvn.fix"),
|
||||
[ ("name", "nix")
|
||||
, ("url", "http://losser.st-lab.cs.uu.nl:12080/repos/trace/nix/trunk")
|
||||
, ("rev", "300")
|
||||
]))
|
||||
|
||||
, ("bdbSrc", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://www.sleepycat.com/update/snapshot/db-4.0.14.tar.gz")
|
||||
, ("md5", "12262c64fcd64b772e7cffad8e4d0ebc")
|
||||
]))
|
||||
|
||||
, ("atermSrc", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")
|
||||
, ("md5", "853474e4bcf4a85f7d38a0676b36bded")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue
Block a user