diff options
author | Vladimír Čunát <v@cunat.cz> | 2024-05-12 17:06:35 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2024-05-12 17:09:49 +0200 |
commit | 9447fd7bc8f66a50c9fa5a04c8440738da0c96f4 (patch) | |
tree | 5c873db4fc656f16d611af27fef67311a1c55966 /pkgs/top-level | |
parent | 9b334cac84935d15e0c0b482be0c1fdbc04004c4 (diff) | |
parent | f830401d918b3be9b7a563630fc7e81043540201 (diff) |
Merge #309297: staging-next 2024-05-05
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 6 | ||||
-rw-r--r-- | pkgs/top-level/darwin-aliases.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/lua-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/php-packages.nix | 7 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 6 |
5 files changed, 12 insertions, 13 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 61573dc54057b..bb15492bf6d8b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22518,7 +22518,7 @@ with pkgs; # GNU libc provides libiconv so systems with glibc don't need to # build libiconv separately. Additionally, Apple forked/repackaged - # libiconv so we use that instead of the vanilla version on that OS, + # libiconv, so build and use the upstream one with a compatible ABI, # and BSDs include libiconv in libc. # # We also provide `libiconvReal`, which will always be a standalone libiconv, @@ -22529,7 +22529,7 @@ with pkgs; then libcCross else stdenv.cc.libc) else if stdenv.hostPlatform.isDarwin - then darwin.libiconv + then libiconv-darwin else libiconvReal; libcIconv = libc: let @@ -22546,7 +22546,7 @@ with pkgs; if lib.elem stdenv.hostPlatform.libc [ "glibc" "musl" ] then lib.getBin stdenv.cc.libc else if stdenv.hostPlatform.isDarwin then - lib.getBin darwin.libiconv + lib.getBin libiconv else lib.getBin libiconvReal; diff --git a/pkgs/top-level/darwin-aliases.nix b/pkgs/top-level/darwin-aliases.nix index d43f0502064e8..ae6cd59722789 100644 --- a/pkgs/top-level/darwin-aliases.nix +++ b/pkgs/top-level/darwin-aliases.nix @@ -51,6 +51,10 @@ mapAliases ({ builder = throw "'darwin.builder' has been changed and renamed to 'darwin.linux-builder'. The default ssh port is now 31022. Please update your configuration or override the port back to 22. See https://nixos.org/manual/nixpkgs/unstable/#sec-darwin-builder"; # added 2023-07-06 + ### L ### + + libiconv = pkgs.libiconv; # 2024-03-27 + ### I ### insert_dylib = throw "'darwin.insert_dylib' has been renamed to 'insert-dylib'"; # added 2024-04-04 diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index 0fadeba75fd0f..a13c9c3f6c866 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -42,7 +42,7 @@ rec { getLuaCPath = drv: getPath drv luaLib.luaCPathList; inherit (callPackage ../development/interpreters/lua-5/hooks { }) - luarocksMoveDataFolder luarocksCheckHook lua-setup-hook; + luarocksMoveDataFolder luarocksCheckHook; inherit lua; inherit buildLuaPackage buildLuarocksPackage buildLuaApplication; diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index e5bcc7ba3c59f..6a5e16185601b 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -428,10 +428,9 @@ in { } { name = "iconv"; - configureFlags = [ - "--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" - ]; - doCheck = false; + buildInputs = [ libiconv ]; + configureFlags = [ "--with-iconv" ]; + doCheck = stdenv.isLinux; } { name = "imap"; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 23ae40ca934d5..9eddf6ccd3349 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2578,7 +2578,6 @@ self: super: with self; { cryptodatahub = callPackage ../development/python-modules/cryptodatahub { }; cryptography = callPackage ../development/python-modules/cryptography { - inherit (pkgs.darwin) libiconv; inherit (pkgs.darwin.apple_sdk.frameworks) Security; }; @@ -2603,7 +2602,6 @@ self: super: with self; { css-html-js-minify = callPackage ../development/python-modules/css-html-js-minify { }; css-inline = callPackage ../development/python-modules/css-inline { - inherit (pkgs.darwin) libiconv; inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration; }; @@ -11696,9 +11694,7 @@ self: super: with self; { pyreaderwriterlock = callPackage ../development/python-modules/pyreaderwriterlock { }; - pyreadstat = callPackage ../development/python-modules/pyreadstat { - inherit (pkgs.darwin) libiconv; - }; + pyreadstat = callPackage ../development/python-modules/pyreadstat { }; pyrealsense2 = toPythonModule (pkgs.librealsense.override { enablePython = true; |