python2.pkgs.nixpart0: use correct libselinux bindings
Sine 56e557257d
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 = [
|
||||
pykickstart pyparted pyblock libselinux.py cryptsetup
|
||||
pykickstart pyparted pyblock libselinux cryptsetup
|
||||
] ++ stdenv.lib.optional useNixUdev systemd;
|
||||
|
||||
# tests are currently _heavily_ broken upstream
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, python, buildPythonApplication
|
||||
, libselinux
|
||||
# Propagated to blivet
|
||||
, useNixUdev ? true
|
||||
# Needed by NixOps
|
||||
@ -10,10 +11,9 @@
|
||||
let
|
||||
blivet = import ./blivet.nix {
|
||||
inherit stdenv fetchurl buildPythonApplication;
|
||||
inherit pykickstart pyparted pyblock cryptsetup multipath_tools;
|
||||
inherit pykickstart pyparted pyblock cryptsetup libselinux multipath_tools;
|
||||
inherit useNixUdev;
|
||||
inherit (pkgs) lsof utillinux systemd;
|
||||
libselinux = pkgs.libselinux.override { enablePython = true; };
|
||||
};
|
||||
|
||||
cryptsetup = import ./cryptsetup.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user