mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
nixpkgs-fmt fixup
A git pre-commit hook would be useful...
This commit is contained in:
parent
419304ee18
commit
c8a486b894
2 changed files with 10 additions and 8 deletions
4
cli.nix
4
cli.nix
|
@ -35,8 +35,8 @@ pkgs.stdenv.mkDerivation {
|
|||
mv poetry2nix $out/bin
|
||||
|
||||
wrapProgram $out/bin/poetry2nix --prefix PATH ":" ${lib.makeBinPath [
|
||||
pkgs.nix-prefetch-git
|
||||
]}
|
||||
pkgs.nix-prefetch-git
|
||||
]}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
|
@ -80,12 +80,14 @@ self: super:
|
|||
# Environment markers are not always included (depending on how a dep was defined)
|
||||
enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;
|
||||
|
||||
faker = super.faker.overrideAttrs(old: {
|
||||
buildInputs = old.buildInputs ++ [
|
||||
# Prefer canonical pypi name and fallback to nixpkgs name
|
||||
(self.pytest-runner or self.pytestrunner)
|
||||
];
|
||||
});
|
||||
faker = super.faker.overrideAttrs (
|
||||
old: {
|
||||
buildInputs = old.buildInputs ++ [
|
||||
# Prefer canonical pypi name and fallback to nixpkgs name
|
||||
(self.pytest-runner or self.pytestrunner)
|
||||
];
|
||||
}
|
||||
);
|
||||
|
||||
grandalf = super.grandalf.overrideAttrs (
|
||||
old: {
|
||||
|
|
Loading…
Add table
Reference in a new issue