libnl: python is optional

+2 -2
+2 -2
pkgs/os-specific/linux/libnl/default.nix
··· 1 1 { stdenv, file, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkg-config 2 - , pythonSupport ? false, swig ? null, python}: 2 + , pythonSupport ? false, swig ? null, python ? null}: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "libnl"; ··· 21 21 22 22 postBuild = lib.optionalString (pythonSupport) '' 23 23 cd python 24 - ${python}/bin/python setup.py install --prefix=../pythonlib 24 + ${python.interpreter} setup.py install --prefix=../pythonlib 25 25 cd - 26 26 ''; 27 27