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