diff --git a/pkgs/development/libraries/volume-key/default.nix b/pkgs/development/libraries/volume-key/default.nix index 53faf07623e..4dd01f664d1 100644 --- a/pkgs/development/libraries/volume-key/default.nix +++ b/pkgs/development/libraries/volume-key/default.nix @@ -13,7 +13,7 @@ in stdenv.mkDerivation rec { sha256 = "16qdi5s6ycsh0iyc362gly7ggrwamky8i0zgbd4ajp3ymk9vqdva"; }; - outputs = [ "out" "man" "dev" ]; + outputs = [ "out" "man" "dev" "py" ]; nativeBuildInputs = [ autoreconfHook pkgconfig gettext python2 swig ]; @@ -28,6 +28,11 @@ in stdenv.mkDerivation rec { }) ]; + makeFlags = [ + "pyexecdir=$(py)/${python2.sitePackages}" + "pythondir=$(py)/${python2.sitePackages}" + ]; + meta = with stdenv.lib; { description = "A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases, and the associated command-line tool"; homepage = https://pagure.io/volume_key/;