Skip to content

Commit

Permalink
Merge pull request fluidattacks#1294 from rohaquinlop/issue-1293
Browse files Browse the repository at this point in the history
feat(build): fluidattacks#1293 fix homeless shelter issue
  • Loading branch information
rohaquinlop authored Feb 19, 2024
2 parents 64fd086 + 50d76ab commit dcd107c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/args/lint-python-imports/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ makeDerivation {
pythonVersion = "3.11";
overrides = self: super: {
grimp = super.grimp.overridePythonAttrs (
old: {buildInputs = [super.setuptools];}
old: {
preUnpack =
''
export HOME=$(mktemp -d)
rm -rf /homeless-shelter
''
+ (old.preUnpack or "");
buildInputs = [super.setuptools];
}
);
import-linter = super.import-linter.overridePythonAttrs (
old: {buildInputs = [super.setuptools];}
Expand Down

0 comments on commit dcd107c

Please sign in to comment.