mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
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.
This commit is contained in:
parent
8bb3919ea9
commit
d700803323
|
@ -18,7 +18,8 @@ pythonPackages.buildPythonApplication {
|
|||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ perl ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
propagatedBuildInputs = with pythonPackages; [ six ];
|
||||
|
||||
meta = {
|
||||
homepage = https://www.phildev.net/pius/;
|
||||
|
|
Loading…
Reference in a new issue