From 6c0e7440adb243c6a97e9f284f57954a81a21d99 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Apr 2003 12:00:51 +0000 Subject: [PATCH] * `Fix' is a high-level descriptor instantiator for Nix. It replaces nix-instantiate. svn path=/nix/trunk/test/; revision=35 --- fixdescriptors/aterm-2.0.fix | 10 ++++++++++ register | 19 ------------------- 2 files changed, 10 insertions(+), 19 deletions(-) create mode 100644 fixdescriptors/aterm-2.0.fix delete mode 100755 register diff --git a/fixdescriptors/aterm-2.0.fix b/fixdescriptors/aterm-2.0.fix new file mode 100644 index 000000000000..0362314d6c3e --- /dev/null +++ b/fixdescriptors/aterm-2.0.fix @@ -0,0 +1,10 @@ +Descr( + [ Bind("pkgId", Str("aterm-2.0")) + , Bind("releaseId", Str("1")) + + , Bind("createGCC", Bool(True)) + + , Bind("src", File(Url("http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz"))) + , Bind("build", File(Local("../build/aterm-build.sh"))) + ] +) \ No newline at end of file diff --git a/register b/register deleted file mode 100755 index 57fe5b6c0d01..000000000000 --- a/register +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh - -if test -z "$NIX"; then NIX=/nix; fi - -echo target $NIX - -if ! nix-instantiate $NIX/var/nix/descriptors $NIX/var/nix/sources tmpl/*.nix; then - exit 1; -fi - -rm -f build/*~ -cp -p build/* $NIX/var/nix/sources - -for i in $NIX/var/nix/sources/*; do nix regfile $i; done - -for i in $NIX/var/nix/descriptors/*; do - md5sum $i - nix regfile $i -done