···20202121 cat >> "$out/bin/avrdudess" << __EOF__
2222 #!${runtimeShell}
2323- export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}"
2323+ export LD_LIBRARY_PATH="${lib.makeLibraryPath [gtk2 mono]}"
2424 # We need PATH from user env for xdg-open to find its tools, which
2525 # typically depend on the currently running desktop environment.
2626- export PATH="${stdenv.lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH"
2626+ export PATH="${lib.makeBinPath [ avrdude xdg_utils ]}:\$PATH"
27272828 # avrdudess must have its resource files in its current working directory
2929 cd $out/avrdudess && exec ${mono}/bin/mono "$out/avrdudess/avrdudess.exe" "\$@"
···88, enableTesseract ? true, leptonica, tesseract4
99}:
10101111-with stdenv.lib;
1111+with lib;
12121313# k2pdfopt is a pain to package. It requires modified versions of mupdf,
1414# leptonica, and tesseract. Instead of shipping patches for these upstream
···3333 json-glib
3434 ];
35353636- cmakeFlags = stdenv.lib.optional stdenv.isDarwin "-DMOVIES=OFF";
3636+ cmakeFlags = lib.optional stdenv.isDarwin "-DMOVIES=OFF";
37373838 meta = with lib; {
3939 description = "A presenter console with multi-monitor support for PDF files";
···11-{ stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
11+{ lib, stdenv, fetchurl, fox, pkgconfig, gettext, xlibsWrapper, gcc, intltool, file, libpng }:
2233stdenv.mkDerivation rec {
44 name = "xfe-1.42";
···2525 Xfe aims to be the filemanager of choice for all the Unix addicts!
2626 '';
2727 homepage = "https://sourceforge.net/projects/xfe/";
2828- license = stdenv.lib.licenses.gpl2;
2828+ license = lib.licenses.gpl2;
2929 maintainers = [];
3030- platforms = stdenv.lib.platforms.linux;
3030+ platforms = lib.platforms.linux;
3131 };
3232}
+4-4
pkgs/applications/misc/xfontsel/default.nix
···22# at https://www.x.org/releases/individual/.
33# That is why this expression is not inside pkgs.xorg
4455-{stdenv, fetchurl, makeWrapper, libX11, pkgconfig, libXaw}:
55+{lib, stdenv, fetchurl, makeWrapper, libX11, pkgconfig, libXaw}:
66stdenv.mkDerivation rec {
77 name = "xfontsel-1.0.6";
88···2929 meta = {
3030 homepage = "https://www.x.org/";
3131 description = "Allows testing the fonts available in an X server";
3232- license = stdenv.lib.licenses.free;
3333- maintainers = with stdenv.lib.maintainers; [viric];
3434- platforms = with stdenv.lib.platforms; linux ++ darwin;
3232+ license = lib.licenses.free;
3333+ maintainers = with lib.maintainers; [viric];
3434+ platforms = with lib.platforms; linux ++ darwin;
3535 };
3636}
···11-{ stdenv, fetchurl, openssl, curl, SDL }:
11+{ lib, stdenv, fetchurl, openssl, curl, SDL }:
2233stdenv.mkDerivation rec {
44 pname = "tinyemu";
···1616 homepage = "https://bellard.org/tinyemu/";
1717 description = "A system emulator for the RISC-V and x86 architectures";
1818 longDescription = "TinyEMU is a system emulator for the RISC-V and x86 architectures. Its purpose is to be small and simple while being complete.";
1919- license = with stdenv.lib.licenses; [ mit bsd2 ];
2020- platforms = stdenv.lib.platforms.linux;
2121- maintainers = with stdenv.lib.maintainers; [ jhhuh ];
1919+ license = with lib.licenses; [ mit bsd2 ];
2020+ platforms = lib.platforms.linux;
2121+ maintainers = with lib.maintainers; [ jhhuh ];
2222 };
2323}
···3344let
55 version = virtualbox.version;
66- xserverVListFunc = builtins.elemAt (stdenv.lib.splitVersion xorg.xorgserver.version);
66+ xserverVListFunc = builtins.elemAt (lib.splitVersion xorg.xorgserver.version);
7788 # Forced to 1.18 in <nixpkgs/nixos/modules/services/x11/xserver.nix>
99 # as it even fails to build otherwise. Still, override this even here,