about summary refs log tree commit diff
path: root/pkgs/applications/version-management
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-03-24 01:30:46 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-01-30 19:56:57 +0100
commit653837881ed2a27a12c7bf662be4abe9db9b7cc5 (patch)
treeb9423fa35443b64d1ed1f1c511c049f42f746d2b /pkgs/applications/version-management
parent30b34ac00788d0dce98a992b6d92779b9eb6bc19 (diff)
downloadnixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar.gz
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar.bz2
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar.lz
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar.xz
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.tar.zst
nixlib-653837881ed2a27a12c7bf662be4abe9db9b7cc5.zip
treewide: replace `lib/${python.libPrefix}/site-packages` with its shorthand `${python.sitePackages}`
which should be always preferred
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r--pkgs/applications/version-management/mercurial/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix
index 07cc4e7b8f58..058d01233889 100644
--- a/pkgs/applications/version-management/mercurial/default.nix
+++ b/pkgs/applications/version-management/mercurial/default.nix
@@ -62,7 +62,7 @@ let
       cp contrib/hgk $out/bin
       cat >> $out/etc/mercurial/hgrc << EOF
       [extensions]
-      hgk=$out/lib/${python.libPrefix}/site-packages/hgext/hgk.py
+      hgk=$out/${python.sitePackages}/hgext/hgk.py
       EOF
       # setting HG so that hgk can be run itself as well (not only hg view)
       WRAP_TK=" --set TK_LIBRARY ${tk}/lib/${tk.libPrefix}