tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libnl: python is optional
Frederik Rietdijk
4 years ago
e9e4ca6b
45229e44
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
libnl
default.nix
+2
-2
pkgs/os-specific/linux/libnl/default.nix
···
1
1
{ stdenv, file, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkg-config
2
2
-
, pythonSupport ? false, swig ? null, python}:
2
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
24
-
${python}/bin/python setup.py install --prefix=../pythonlib
24
24
+
${python.interpreter} setup.py install --prefix=../pythonlib
25
25
cd -
26
26
'';
27
27