about summary refs log tree commit diff
path: root/pkgs/development/libraries/harfbuzz
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-08-24 23:35:35 +0200
committerGitHub <noreply@github.com>2021-08-24 23:35:35 +0200
commit66679f0e52e8092b1b8afd18d3e57ee767d7a3d0 (patch)
treeb706dfa39fa27f79e750f9fa4174906938c30648 /pkgs/development/libraries/harfbuzz
parent071f37a83c5fa9bcbe4e46b133e25ebdea35a0f3 (diff)
harfbuzz: switch to pname + version (#135529)
Co-authored-by: Bobby Rong <931189261@qq.com>
Diffstat (limited to 'pkgs/development/libraries/harfbuzz')
-rw-r--r--pkgs/development/libraries/harfbuzz/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix
index 4a12c5bcc225c..e94fcc5ece9d7 100644
--- a/pkgs/development/libraries/harfbuzz/default.nix
+++ b/pkgs/development/libraries/harfbuzz/default.nix
@@ -32,7 +32,8 @@ let
 in
 
 stdenv.mkDerivation {
-  name = "harfbuzz${optionalString withIcu "-icu"}-${version}";
+  pname = "harfbuzz${optionalString withIcu "-icu"}";
+  inherit version;
 
   src = fetchFromGitHub {
     owner = "harfbuzz";
@@ -42,8 +43,7 @@ stdenv.mkDerivation {
   };
 
   postPatch = ''
-    patchShebangs src/*.py
-    patchShebangs test
+    patchShebangs src/*.py test
   '' + lib.optionalString stdenv.isDarwin ''
     # ApplicationServices.framework headers have cast-align warnings.
     substituteInPlace src/hb.hh \