libnl: python is optional

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