···970970 </listitem>971971 <listitem>972972 <para>973973+ Nginx module <literal>nginxModules.fastcgi-cache-purge</literal> renamed to official name <literal>nginxModules.cache-purge</literal>.974974+ Nginx module <literal>nginxModules.ngx_aws_auth</literal> renamed to official name <literal>nginxModules.aws-auth</literal>.973975 The packages <package>perl</package>, <package>rsync</package> and <package>strace</package> were removed from <option>systemPackages</option>. If you need them, install them again with <code><xref linkend="opt-environment.systemPackages"/> = with pkgs; [ perl rsync strace ];</code> in your <filename>configuration.nix</filename>.974976 </para>975977 </listitem>
···11-import ./make-test.nix ({pkgs, lib, ...}:11+import ./make-test-python.nix ({pkgs, lib, ...}:22let33 # A filesystem image with a (presumably) bootable debian44 debianImage = pkgs.vmTools.diskImageFuns.debian9i386 {···3434 '';3535 };36363737- # options to add the disk to the test vm3838- QEMU_OPTS = "-drive index=2,file=${debianImage}/disk-image.qcow2,read-only,if=virtio";3939-4037 # a part of the configuration of the test vm4138 simpleConfig = {4239 boot.loader.grub = {···6871 machine = { config, pkgs, ... }: (simpleConfig // {6972 imports = [ ../modules/profiles/installation-device.nix7073 ../modules/profiles/base.nix ];7171- virtualisation.memorySize = 1024;7474+ virtualisation.memorySize = 1300;7275 # The test cannot access the network, so any packages7376 # nixos-rebuild needs must be included in the VM.7477 system.extraDependencies = with pkgs;···969997100 testScript = ''98101 # hack to add the secondary disk9999- $machine->{startCommand} = "QEMU_OPTS=\"\$QEMU_OPTS \"${lib.escapeShellArg QEMU_OPTS} ".$machine->{startCommand};102102+ os.environ[103103+ "QEMU_OPTS"104104+ ] = "-drive index=2,file=${debianImage}/disk-image.qcow2,read-only,if=virtio"100105101101- $machine->start;102102- $machine->succeed("udevadm settle");103103- $machine->waitForUnit("multi-user.target");106106+ machine.start()107107+ machine.succeed("udevadm settle")108108+ machine.wait_for_unit("multi-user.target")109109+ print(machine.succeed("lsblk"))104110105111 # check that os-prober works standalone106106- $machine->succeed("${pkgs.os-prober}/bin/os-prober | grep /dev/vdb1");112112+ machine.succeed(113113+ "${pkgs.os-prober}/bin/os-prober | grep /dev/vdb1"114114+ )107115108116 # rebuild and test that debian is available in the grub menu109109- $machine->succeed("nixos-generate-config");110110- $machine->copyFileFromHost(117117+ machine.succeed("nixos-generate-config")118118+ machine.copy_from_host(111119 "${configFile}",112112- "/etc/nixos/configuration.nix");113113- $machine->succeed("nixos-rebuild boot >&2");120120+ "/etc/nixos/configuration.nix",121121+ )122122+ machine.succeed("nixos-rebuild boot >&2")114123115115- $machine->succeed("egrep 'menuentry.*debian' /boot/grub/grub.cfg");124124+ machine.succeed("egrep 'menuentry.*debian' /boot/grub/grub.cfg")116125 '';117126})
···11-{ callPackage, fetchurl, ... } @ args:11+{ callPackage22+, fetchurl33+44+ # This is a bit unusual, but makes version and hash easily55+ # overridable. This is useful when people have an older version of66+ # Softmaker Office or when the upstream archive was replaced and77+ # nixpkgs is not in sync yet.88+, officeVersion ? {99+ version = "1018";1010+ edition = "2021";1111+ sha256 = "1g9mcn0z7s3xw7d5bcjxbnamh6knzndcysahydskfcds6czdxg0c";1212+}1313+1414+, ... } @ args:215316callPackage ./generic.nix (args // rec {1717+ inherit (officeVersion) version edition;1818+419 pname = "softmaker-office";55- version = "1016";66- edition = "2021";720 suiteName = "SoftMaker Office";821922 src = fetchurl {2323+ inherit (officeVersion) sha256;1024 url = "https://www.softmaker.net/down/softmaker-office-${edition}-${version}-amd64.tgz";1111- sha256 = "0s8kzpc6w2cjkfqmhb2p1pkmkiq9vk9gnc7z2992kijaf9bwk3qz";1225 };13261427 archive = "office${edition}.tar.lzma";
···88 # N.B. Versions in this list should be ordered from newest to oldest.99 [1010 {1111+ version = "12.1.1";1212+ lang = "en";1313+ language = "English";1414+ sha256 = "02mk8gmv8idnakva1nc7r7mx8ld02lk7jgsj1zbn962aps3bhixd";1515+ }1616+ {1117 version = "12.1.0";1218 lang = "en";1319 language = "English";
···33with stdenv.lib;4455buildLinux (args // rec {66- version = "5.8";66+ version = "5.8.3";7788 # modDirVersion needs to be x.y.z, will automatically add .0 if needed99 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;···13131414 src = fetchurl {1515 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";1616- sha256 = "1xgibkwb1yfl6qdlbxyagai0qc1pk5ark7giz1512hh6ma353xz7";1616+ sha256 = "0y8prifvkywqsx5lk80bh31m505vinmicpvdrirgg0c9scg7x8lf";1717 };1818} // (args.argsOverride or {}))
+2-2
pkgs/os-specific/linux/kernel/linux-testing.nix
···33with stdenv.lib;4455buildLinux (args // rec {66- version = "5.9-rc1";66+ version = "5.9-rc2";77 extraMeta.branch = "5.9";8899 # modDirVersion needs to be x.y.z, will always add .0···11111212 src = fetchurl {1313 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";1414- sha256 = "08x6s4wydbrr4rqq3zfxq6qmnha4ikn7m9rmdqd42hmxl2ynqxla";1414+ sha256 = "0mdh6gsd305kcgfqzyfgl5m886asjm5030ahg63gyias3ywzn5wd";1515 };16161717 # Should the testing kernels ever be built on Hydra?
-20
pkgs/os-specific/linux/rfkill/default.nix
···11-{ stdenv, fetchurl }:22-33-stdenv.mkDerivation rec {44- name = "rfkill-0.5";55-66- src = fetchurl {77- url = "mirror://kernel/software/network/rfkill/${name}.tar.bz2";88- sha256 = "01zs7p9kd92pxgcgwl5w46h3iyx4acfg6m1j5fgnflsaa350q5iy";99- };1010-1111- makeFlags = [ "PREFIX=$(out)" ];1212-1313- meta = with stdenv.lib; {1414- homepage = "http://wireless.kernel.org/en/users/Documentation/rfkill";1515- description = "A tool to query, enable and disable wireless devices";1616- platforms = platforms.linux;1717- maintainers = [ maintainers.eelco ];1818- license = licenses.isc;1919- };2020-}
···11-# CAVEATS:22-# - Have only tested this with rsync, scp, and sftp. cvs support should work, but chroot integration is unlikely to function without further work33-# - It is compiled without rdist support because rdist is ludicrously ancient (and not already in nixpkgs)44-55-{ stdenv, fetchurl, openssh, rsync, cvs }:66-77-stdenv.mkDerivation rec {88- pname = "rssh";99- version = "2.3.4";1010-1111- src = fetchurl {1212- url = "mirror://sourceforge/rssh/rssh/${version}/${pname}-${version}.tar.gz";1313- sha256 = "f30c6a760918a0ed39cf9e49a49a76cb309d7ef1c25a66e77a41e2b1d0b40cd9";1414- };1515-1616- patches = [1717- ./fix-config-path.patch1818-1919- # Patches from AUR2020- (fetchurl {2121- url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-fail-logging.patch?h=rssh";2222- name = "0001-fail-logging.patch";2323- sha256 = "d30f2f4fdb1b57f94773f5b0968a4da3356b14a040efe69ec1e976c615035c65";2424- })2525- (fetchurl {2626- url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-info-to-debug.patch?h=rssh";2727- name = "0002-info-to-debug.patch";2828- sha256 = "86f6ecf34f62415b0d6204d4cbebc47322dc2ec71732d06aa27758e35d688fcd";2929- })3030- (fetchurl {3131- url = "https://aur.archlinux.org/cgit/aur.git/plain/0003-man-page-spelling.patch?h=rssh";3232- name = "0003-man-page-spelling.patch";3333- sha256 = "455b3bbccddf1493999d00c2cd46e62930ef4fd8211e0b7d3a89d8010d6a5431";3434- })3535- (fetchurl {3636- url = "https://aur.archlinux.org/cgit/aur.git/plain/0004-mkchroot.patch?h=rssh";3737- name = "0004-mkchroot.patch";3838- sha256 = "f7fd8723d2aa94e64e037c13c2f263a52104af680ab52bfcaea73dfa836457c2";3939- })4040- (fetchurl {4141- url = "https://aur.archlinux.org/cgit/aur.git/plain/0005-mkchroot-arch.patch?h=rssh";4242- name = "0005-mkchroot-arch.patch";4343- sha256 = "ac8894c4087a063ae8267d2fdfcde69c2fe6b67a8ff5917e4518b8f73f08ba3f";4444- })4545- (fetchurl {4646- url = "https://aur.archlinux.org/cgit/aur.git/plain/0006-mkchroot-symlink.patch?h=rssh";4747- name = "0006-mkchroot-symlink.patch";4848- sha256 = "bce98728cb9b55c92182d4901c5f9adf49376a07c5603514b0004e3d1c85e9c7";4949- })5050- (fetchurl {5151- url = "https://aur.archlinux.org/cgit/aur.git/plain/0007-destdir.patch?h=rssh";5252- name = "0007-destdir.patch";5353- sha256 = "7fa03644f81dc37d77cc7e2cad994f17f91b2b8a49b1a74e41030a4ac764385e";5454- })5555- (fetchurl {5656- url = "https://aur.archlinux.org/cgit/aur.git/plain/0008-rsync-protocol.patch?h=rssh";5757- name = "0008-rsync-protocol.patch";5858- sha256 = "0c772afe9088eeded129ead86775ef18e58c318bbc58fc3e2585e7ff09cc5e91";5959- })6060- ];6161-6262- # Run this after to avoid conflict with patches above6363- postPatch = ''6464- sed -i '/chmod u+s/d' Makefile.in6565- '';6666-6767-6868- buildInputs = [ openssh rsync cvs ];6969-7070- configureFlags = [7171- "--with-sftp-server=${openssh}/libexec/sftp-server"7272- "--with-scp=${openssh}/bin/scp"7373- "--with-rsync=${rsync}/bin/rsync"7474- "--with-cvs=${cvs}/bin/cvs"7575- ];7676-7777-7878- meta = with stdenv.lib; {7979- description = "A restricted shell for use with OpenSSH, allowing only scp and/or sftp";8080- longDescription = ''8181- rssh also includes support for rsync and cvs. For example, if you have a server which you only want to allow users to copy files off of via scp, without providing shell access, you can use rssh to do that.8282- '';8383- homepage = "http://www.pizzashack.org/rssh/";8484- license = licenses.bsd2;8585- platforms = platforms.linux;8686- maintainers = with maintainers; [ arobyn ];8787- knownVulnerabilities = [8888- "CVE-2019-1000018"8989- "CVE-2019-3463"9090- "CVE-2019-3464"9191- ];9292- };9393-9494- passthru = {9595- shellPath = "/bin/rssh";9696- };9797-}
···467467 robomongo = robo3t; #added 2017-09-28468468 rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21469469 rssglx = rss-glx; #added 2015-03-25470470+ rssh = throw "rssh has been removed from nixpkgs: no upstream releases since 2012, several known CVEs"; # added 2020-08-25470471 recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10471472 gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10472473 qt-recordmydesktop = throw "qt-recordmydesktop has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10474474+ rfkill = throw "rfkill has been removed, as it's included in util-linux"; # added 2020-08-23473475 rkt = throw "rkt was archived by upstream"; # added 2020-05-16474476 ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";475477 ruby_2_1_0 = throw "deprecated 2018-0213: use a newer version of ruby";