summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-10-16 18:11:55 +0000
committerAlyssa Ross <hi@alyssa.is>2023-01-13 16:01:13 +0000
commit979a975dbe0743037fdc190c51f51c83e3d59df8 (patch)
tree2e8ce80c9ba521072107535ebeb5a3ede0cd910c
parentea9c9ba75c88cdd992068f5865bb703e23d48b33 (diff)
downloadnixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar.gz
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar.bz2
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar.lz
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar.xz
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.tar.zst
nixpkgs-979a975dbe0743037fdc190c51f51c83e3d59df8.zip
pkg-config: use dontUnpack instead of no-op phase
-rw-r--r--pkgs/build-support/pkg-config-wrapper/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/build-support/pkg-config-wrapper/default.nix b/pkgs/build-support/pkg-config-wrapper/default.nix
index ca14a4495fe..f6859766260 100644
--- a/pkgs/build-support/pkg-config-wrapper/default.nix
+++ b/pkgs/build-support/pkg-config-wrapper/default.nix
@@ -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