Use the new overrides
This commit is contained in:
parent
30c59c2bde
commit
659374cb4f
11
flake.lock
11
flake.lock
|
@ -54,16 +54,17 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1668738526,
|
||||
"narHash": "sha256-OtyHtZalpeTjZ5B44C8wV3WqTUmeBBxoGc7KPIkwxAU=",
|
||||
"owner": "nix-community",
|
||||
"lastModified": 1668892083,
|
||||
"narHash": "sha256-AKK36evl0fHsOIAgKmtwon1LfH0WKn55+J2Yv2dXGPk=",
|
||||
"owner": "Nebucatnetzer",
|
||||
"repo": "poetry2nix",
|
||||
"rev": "0c5bae34bee822876a2dbb1c62d89cd1b29b648d",
|
||||
"rev": "283a1398ee9c080c8c3310c8fd1aa937f6e84b62",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"owner": "Nebucatnetzer",
|
||||
"repo": "poetry2nix",
|
||||
"rev": "283a1398ee9c080c8c3310c8fd1aa937f6e84b62",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
46
flake.nix
46
flake.nix
|
@ -4,7 +4,7 @@
|
|||
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
poetry2nix = {
|
||||
url = "github:nix-community/poetry2nix";
|
||||
url = "github:Nebucatnetzer/poetry2nix?rev=283a1398ee9c080c8c3310c8fd1aa937f6e84b62";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
@ -18,52 +18,10 @@
|
|||
projectDir = ./.;
|
||||
overrides = prev.poetry2nix.defaultPoetryOverrides.extend
|
||||
(self: super: {
|
||||
findpython = super.findpython.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.pdm ];
|
||||
}
|
||||
);
|
||||
django-floppyforms =
|
||||
super.django-floppyforms.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||
}
|
||||
);
|
||||
django-crispy-forms = super.django-crispy-forms.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||
}
|
||||
);
|
||||
django-nested-admin = super.django-crispy-forms.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||
}
|
||||
);
|
||||
exceptiongroup = super.exceptiongroup.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.flit-scm ];
|
||||
}
|
||||
);
|
||||
mixer = super.mixer.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||
}
|
||||
);
|
||||
python-monkey-business = super.python-monkey-business.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.flit-scm ];
|
||||
}
|
||||
);
|
||||
pytoolconfig = super.pytoolconfig.overridePythonAttrs
|
||||
(
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.pdm-pep517 ];
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue