summary refs log tree commit diff
path: root/pkgs/development/tools/misc/swig/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/swig/default.nix')
-rw-r--r--pkgs/development/tools/misc/swig/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/swig/default.nix b/pkgs/development/tools/misc/swig/default.nix
index a84ad4fc1f350..d0dd0a8cd3d74 100644
--- a/pkgs/development/tools/misc/swig/default.nix
+++ b/pkgs/development/tools/misc/swig/default.nix
@@ -4,9 +4,8 @@
 assert perlSupport -> perl != null;
 assert pythonSupport -> python != null;
 
-derivation {
+stdenv.mkDerivation {
   name = "swig-1.3.19";
-  system = stdenv.system;
 
   builder = ./builder.sh;
   src = fetchurl {
@@ -17,7 +16,6 @@ derivation {
   perlSupport = perlSupport;
   pythonSupport = pythonSupport;
 
-  stdenv = stdenv;
   perl = if perlSupport then perl else null;
   python = if pythonSupport then python else null;
 }
\ No newline at end of file