summary refs log tree commit diff
path: root/pkgs/applications/misc/hello
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
commit12ae5363ea658d399bdb008f6ded3cde355f9310 (patch)
treee2a2ab3210854bfaad01f955c32b1cda724a8790 /pkgs/applications/misc/hello
parentbc71554fc80a760c3a8e01f9e9e97500aa9ccde1 (diff)
downloadnixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.gz
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.bz2
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.lz
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.xz
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.zst
nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.zip
* Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
Diffstat (limited to 'pkgs/applications/misc/hello')
-rw-r--r--[-rwxr-xr-x]pkgs/applications/misc/hello/builder.sh2
-rw-r--r--pkgs/applications/misc/hello/default.nix4
2 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/applications/misc/hello/builder.sh b/pkgs/applications/misc/hello/builder.sh
index 39da4116cb2..bc2a48e30e4 100755..100644
--- a/pkgs/applications/misc/hello/builder.sh
+++ b/pkgs/applications/misc/hello/builder.sh
@@ -1,5 +1,3 @@
-#! /bin/sh
-
 buildinputs="$perl"
 . $stdenv/setup || exit 1
 
diff --git a/pkgs/applications/misc/hello/default.nix b/pkgs/applications/misc/hello/default.nix
index 2d8d6ae368b..0ea1f12ad74 100644
--- a/pkgs/applications/misc/hello/default.nix
+++ b/pkgs/applications/misc/hello/default.nix
@@ -1,13 +1,11 @@
 {stdenv, fetchurl, perl}:
 
-derivation {
+stdenv.mkDerivation {
   name = "hello-2.1.1";
-  system = stdenv.system;
   builder = ./builder.sh;
   src = fetchurl {
     url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
     md5 = "70c9ccf9fac07f762c24f2df2290784d";
   };
-  stdenv = stdenv;
   perl = perl;
 }