mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
libnl: python is optional
This commit is contained in:
parent
45229e4410
commit
e9e4ca6b4a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, file, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkg-config
|
||||
, pythonSupport ? false, swig ? null, python}:
|
||||
, pythonSupport ? false, swig ? null, python ? null}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libnl";
|
||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postBuild = lib.optionalString (pythonSupport) ''
|
||||
cd python
|
||||
${python}/bin/python setup.py install --prefix=../pythonlib
|
||||
${python.interpreter} setup.py install --prefix=../pythonlib
|
||||
cd -
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue