Merge pull request #604 from nix-community/CrackMapExec-overrides

Add overrides to be able to build CrackMapExec
This commit is contained in:
adisbladis 2022-04-28 23:57:39 +07:00 committed by GitHub
commit ece2a41612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 2 deletions

View file

@ -596,6 +596,9 @@
"lockfile": [
"pbr"
],
"lsassy": [
"poetry-core"
],
"luftdaten": [
"poetry-core"
],
@ -653,8 +656,8 @@
"poetry"
],
"mkdocs-jupyter": [
"poetry-core",
"ipython_genutils"
"ipython_genutils",
"poetry-core"
],
"mkdocs-literate-nav": [
"poetry"
@ -1026,6 +1029,9 @@
"pyproject-flake8": [
"flit-core"
],
"pypsrp": [
"poetry-core"
],
"pyquil": [
"poetry-core"
],

View file

@ -866,6 +866,17 @@ lib.composeManyExtensions [
}
);
lsassy =
if super.lsassy.version == "3.1.1" then
super.lsassy.overridePythonAttrs
(old: {
# pyproject.toml contains a constraint `rich = "^10.6.0"` which is not replicated in setup.py
# hence pypi misses it and poetry pins rich to 11.0.0
preConfigure = (old.preConfigure or "") + ''
rm pyproject.toml
'';
}) else super.lsassy;
lxml = super.lxml.overridePythonAttrs (
old: {
nativeBuildInputs = with pkgs.buildPackages; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];