lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpsd: use python2

+7 -7
+7 -7
pkgs/servers/gpsd/default.nix
··· 2 2 , ncurses, libX11, libXt, libXpm, libXaw, libXext 3 3 , libusb1, docbook_xml_dtd_412, docbook_xsl, bc 4 4 , libxslt, xmlto, gpsdUser ? "gpsd", gpsdGroup ? "dialout" 5 - , pythonPackages 5 + , python2Packages 6 6 }: 7 7 8 8 # TODO: put the X11 deps behind a guiSupport parameter for headless support ··· 17 17 18 18 nativeBuildInputs = [ 19 19 scons pkgconfig docbook_xml_dtd_412 docbook_xsl xmlto bc 20 - pythonPackages.python 21 - pythonPackages.wrapPython 20 + python2Packages.python 21 + python2Packages.wrapPython 22 22 ]; 23 23 24 24 buildInputs = [ 25 - pythonPackages.python dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext 25 + python2Packages.python dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext 26 26 libxslt libusb1 27 27 ]; 28 28 29 29 pythonPath = [ 30 - pythonPackages.pygobject2 31 - pythonPackages.pygtk 30 + python2Packages.pygobject2 31 + python2Packages.pygtk 32 32 ]; 33 33 34 34 patches = [ ··· 46 46 sed -e "s|systemd_dir = .*|systemd_dir = '$out/lib/systemd/system'|" -i SConstruct 47 47 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \ 48 48 systemd=yes udevdir="$out/lib/udev" \ 49 - python_libdir="$out/lib/${pythonPackages.python.libPrefix}/site-packages" 49 + python_libdir="$out/lib/${python2Packages.python.libPrefix}/site-packages" 50 50 ''; 51 51 52 52 checkPhase = ''