Skip to content

Commit

Permalink
Merge pull request #238028 from amjoseph-nixpkgs/pr/glibc/info/useMak…
Browse files Browse the repository at this point in the history
…eFlags

glibcInfo: use makeFlags instead of buildPhase
  • Loading branch information
wegank authored Jun 16, 2023
2 parents c30d35e + 7306386 commit 4d374bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/glibc/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ stdenv.mkDerivation ({
++ lib.optional withGd "--with-gd"
++ lib.optional (!withLibcrypt) "--disable-crypt";

makeFlags = [
makeFlags = (args.makeFlags or []) ++ [
"OBJCOPY=${stdenv.cc.targetPrefix}objcopy"
];

Expand Down Expand Up @@ -196,7 +196,7 @@ stdenv.mkDerivation ({
passthru = { inherit version; minorRelease = version; };
}

// (removeAttrs args [ "withLinuxHeaders" "withGd" "postInstall" ]) //
// (removeAttrs args [ "withLinuxHeaders" "withGd" "postInstall" "makeFlags" ]) //

{
src = fetchurl {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/glibc/info.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ callPackage ./common.nix {} {

extraNativeBuildInputs = [ texinfo perl ];

buildPhase = "make info";
makeFlags = [ "info" ];

# I don't know why the info is not generated in 'build'
# Somehow building the info still does not work, because the final
Expand Down

0 comments on commit 4d374bf

Please sign in to comment.