Skip to content

Commit

Permalink
pkg-config: use dontUnpack instead of no-op phase
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Jan 13, 2023
1 parent ea9c9ba commit 979a975
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/build-support/pkg-config-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,11 @@ stdenv.mkDerivation {
strictDeps = true;
dontBuild = true;
dontConfigure = true;
dontUnpack = true;

# Additional flags passed to pkg-config.
addFlags = lib.optional stdenv.targetPlatform.isStatic "--static";

unpackPhase = ''
src=$PWD
'';

installPhase =
''
mkdir -p $out/bin $out/nix-support
Expand Down

0 comments on commit 979a975

Please sign in to comment.