mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
system-config-printer: Remove -dev paths from closure
Workaround for #24128.
This commit is contained in:
parent
6dd5846f1b
commit
5897aa771c
@ -16,8 +16,6 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "1vxczk22f58nbikvj47s2x1gzh6q4mbgwnf091p00h3b6nxppdgn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.pycurl ];
|
||||
|
||||
patches = [ ./detect_serverbindir.patch ];
|
||||
|
||||
buildInputs =
|
||||
@ -27,7 +25,7 @@ in stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
pythonPath = with pythonPackages;
|
||||
[ pycups pycurl dbus-python pygobject3 requests2 pycairo ];
|
||||
[ pycups pycurl dbus-python pygobject3 requests2 pycairo pythonPackages.pycurl ];
|
||||
|
||||
configureFlags =
|
||||
[ "--with-udev-rules"
|
||||
@ -46,6 +44,7 @@ in stdenv.mkDerivation rec {
|
||||
--set GI_TYPELIB_PATH ${giTypelibPath} \
|
||||
--set CUPS_DATADIR ${cups-filters}/share/cups"
|
||||
wrapPythonPrograms
|
||||
|
||||
# The program imports itself, so we need to move shell wrappers to a proper place.
|
||||
fixupWrapper() {
|
||||
mv "$out/share/system-config-printer/$2.py" \
|
||||
|
@ -20080,7 +20080,7 @@ in {
|
||||
sha256 = "0v5w66ir3siimfzg3kc8hfrrilwwnbxq5bvipmrpyxar0kw715vf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ pkgs.curl pkgs.openssl.out ];
|
||||
buildInputs = with self; [ pkgs.curl pkgs.openssl.out ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user