about summary refs log tree commit diff
path: root/pkgs/tools/security/pius
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2019-03-11 13:43:49 +0000
committerKier Davis <kierdavis@gmail.com>2019-03-11 13:43:49 +0000
commitd700803323c20c8c5657eaf47d3214870fbeedce (patch)
tree0585d55c5a29edaf0b5a0e31ee8cccb106d05ea8 /pkgs/tools/security/pius
parent8bb3919ea9988b845223a203e2f2a6854df11068 (diff)
pius: fix dependencies
`perl` needs to be a native build input to ensure that it is
present in `PATH` during the build, allowing `patchShebangs` to
correctly fix the shebang in `pius-party-worksheet`. Previously,
the shebang was left as `/usr/bin/perl` because `perl` could not
be found by `patchShebangs`.

`six` is a required dependency of `pius` and likely should have
been included in the derivation a long time ago, since the `pius`,
`pius-report` and `pius-keyring-mgr` commands are broken without it.
Annoyingly, `pius` still uses `distutils` rather than `setuptools`
which seems to happily install the package without checking that
its dependencies have been installed.
Diffstat (limited to 'pkgs/tools/security/pius')
-rw-r--r--pkgs/tools/security/pius/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix
index 2a48bf2c2c6c5..0fcf5d9a7992c 100644
--- a/pkgs/tools/security/pius/default.nix
+++ b/pkgs/tools/security/pius/default.nix
@@ -18,7 +18,8 @@ pythonPackages.buildPythonApplication {
     done
   '';
 
-  buildInputs = [ perl ];
+  nativeBuildInputs = [ perl ];
+  propagatedBuildInputs = with pythonPackages; [ six ];
 
   meta = {
     homepage = https://www.phildev.net/pius/;