python2.pkgs.nixpart0: use correct libselinux bindings
Sine 56e557257df675bc6b2cbebf3ba5bc6d51b2321c libselinux in pkgs defaults to Python 3 so let's use the one from python.pkgs to make sure it matches.
This commit is contained in:
parent
c438ce12a8
commit
07b8ab4ff7
@ -35,7 +35,7 @@ buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pykickstart pyparted pyblock libselinux.py cryptsetup
|
pykickstart pyparted pyblock libselinux cryptsetup
|
||||||
] ++ stdenv.lib.optional useNixUdev systemd;
|
] ++ stdenv.lib.optional useNixUdev systemd;
|
||||||
|
|
||||||
# tests are currently _heavily_ broken upstream
|
# tests are currently _heavily_ broken upstream
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, python, buildPythonApplication
|
{ stdenv, fetchurl, python, buildPythonApplication
|
||||||
|
, libselinux
|
||||||
# Propagated to blivet
|
# Propagated to blivet
|
||||||
, useNixUdev ? true
|
, useNixUdev ? true
|
||||||
# Needed by NixOps
|
# Needed by NixOps
|
||||||
@ -10,10 +11,9 @@
|
|||||||
let
|
let
|
||||||
blivet = import ./blivet.nix {
|
blivet = import ./blivet.nix {
|
||||||
inherit stdenv fetchurl buildPythonApplication;
|
inherit stdenv fetchurl buildPythonApplication;
|
||||||
inherit pykickstart pyparted pyblock cryptsetup multipath_tools;
|
inherit pykickstart pyparted pyblock cryptsetup libselinux multipath_tools;
|
||||||
inherit useNixUdev;
|
inherit useNixUdev;
|
||||||
inherit (pkgs) lsof utillinux systemd;
|
inherit (pkgs) lsof utillinux systemd;
|
||||||
libselinux = pkgs.libselinux.override { enablePython = true; };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cryptsetup = import ./cryptsetup.nix {
|
cryptsetup = import ./cryptsetup.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user