mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
poetry2nix: 1.17.0 -> 1.17.1
This commit is contained in:
parent
8f34dc4057
commit
428c0e107f
@ -5,7 +5,7 @@
|
||||
}:
|
||||
let
|
||||
# Poetry2nix version
|
||||
version = "1.17.0";
|
||||
version = "1.17.1";
|
||||
|
||||
inherit (poetryLib) isCompatible readTOML moduleName;
|
||||
|
||||
@ -209,12 +209,12 @@ lib.makeScope pkgs.newScope (self: {
|
||||
poetry-core = if __isBootstrap then null else poetryPkg.passthru.python.pkgs.poetry-core;
|
||||
poetry = if __isBootstrap then null else poetryPkg;
|
||||
|
||||
# The canonical name is setuptools-scm
|
||||
setuptools-scm = super.setuptools-scm;
|
||||
|
||||
__toPluginAble = toPluginAble self;
|
||||
|
||||
inherit (hooks) pipBuildHook removePathDependenciesHook poetry2nixFixupHook wheelUnpackHook;
|
||||
} // lib.optionalAttrs (! super ? setuptools-scm) {
|
||||
# The canonical name is setuptools-scm
|
||||
setuptools-scm = super.setuptools_scm;
|
||||
}
|
||||
)
|
||||
# Null out any filtered packages, we don't want python.pkgs from nixpkgs
|
||||
|
@ -89,7 +89,7 @@ pythonPackages.callPackage
|
||||
|
||||
# Prevent infinite recursion
|
||||
skipSetupToolsSCM = [
|
||||
"setuptools-scm"
|
||||
"setuptools_scm"
|
||||
"setuptools-scm"
|
||||
"toml" # Toml is an extra for setuptools-scm
|
||||
];
|
||||
|
@ -598,7 +598,7 @@ self: super:
|
||||
|
||||
lxml = super.lxml.overridePythonAttrs (
|
||||
old: {
|
||||
nativeBuildInputs = with pkgs; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ];
|
||||
nativeBuildInputs = with pkgs; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||
buildInputs = with pkgs; (old.buildInputs or [ ]) ++ [ libxml2 libxslt ];
|
||||
}
|
||||
);
|
||||
@ -636,6 +636,10 @@ self: super:
|
||||
cat > setup.cfg <<EOF
|
||||
[libs]
|
||||
system_freetype = True
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# LTO not working in darwin stdenv, see NixOS/nixpkgs/pull/19312
|
||||
enable_lto = false
|
||||
'' + ''
|
||||
EOF
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user