about summary refs log tree commit diff
path: root/pkgs/misc/drivers
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-07-12 14:21:08 +0300
committerDoron Behar <doron.behar@gmail.com>2020-07-12 14:24:05 +0300
commit359f2345c03819fc3085103da940511b0b0bad8b (patch)
tree07ba4ab506be8d21a67decc15b1aa5b21379eac0 /pkgs/misc/drivers
parent3b2b3f7c535006f8a6a1c79a2a41601f68ba7e6b (diff)
downloadnixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar.gz
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar.bz2
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar.lz
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar.xz
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.tar.zst
nixlib-359f2345c03819fc3085103da940511b0b0bad8b.zip
hplip: Remove all python related gcc references
Use in stripDebugList python sitePackages directory used by the build,
and don't hard code python3.7's sitePackages path.
Diffstat (limited to 'pkgs/misc/drivers')
-rw-r--r--pkgs/misc/drivers/hplip/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix
index 98ced28b8773..afd1f8f6fe4f 100644
--- a/pkgs/misc/drivers/hplip/default.nix
+++ b/pkgs/misc/drivers/hplip/default.nix
@@ -230,7 +230,7 @@ python3Packages.buildPythonApplication {
 
   # There are some binaries there, which reference gcc-unwrapped otherwise.
   stripDebugList = [
-    "share/hplip" "lib/cups/backend" "lib/cups/filter" "lib/python3.7/site-packages" "lib/sane"
+    "share/hplip" "lib/cups/backend" "lib/cups/filter" python3Packages.python.sitePackages "lib/sane"
   ];
 
   meta = with stdenv.lib; {