summary refs log tree commit diff
path: root/pkgs/misc/uml
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/misc/uml
parentbc71554fc80a760c3a8e01f9e9e97500aa9ccde1 (diff)
downloadnixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar
nixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.gz
nixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.bz2
nixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.lz
nixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.xz
nixlib-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.zst
nixlib-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/misc/uml')
-rw-r--r--[-rwxr-xr-x]pkgs/misc/uml/builder.sh2
-rw-r--r--pkgs/misc/uml/default.nix5
2 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/misc/uml/builder.sh b/pkgs/misc/uml/builder.sh
index 28b3692cf65a..8abbb79301ab 100755..100644
--- a/pkgs/misc/uml/builder.sh
+++ b/pkgs/misc/uml/builder.sh
@@ -1,5 +1,3 @@
-#! /bin/sh
-
 buildinputs="$patch $perl $m4"
 . $stdenv/setup || exit 1
 
diff --git a/pkgs/misc/uml/default.nix b/pkgs/misc/uml/default.nix
index eafd5700e0be..977a26e11800 100644
--- a/pkgs/misc/uml/default.nix
+++ b/pkgs/misc/uml/default.nix
@@ -2,9 +2,8 @@
 
 assert patch != null && perl != null && m4 != null;
 
-derivation {
+stdenv.mkDerivation {
   name = "uml-2.4.22-3";
-  system = stdenv.system;
   builder = ./builder.sh;
   linuxSrc = fetchurl {
     url = ftp://ftp.nl.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2;
@@ -15,5 +14,5 @@ derivation {
     md5 = "1ffa698fed37d14c6750ec841b7d9858";
   };
   config = ./config;
-  inherit stdenv patch perl m4;
+  inherit patch perl m4;
 }