···5151 extraModulePaths = mkOption {
5252 type = types.listOf types.str;
5353 default = [];
5454- example = literalExpression ''
5555- [ "''${pkgs.syslogng_incubator}/lib/syslog-ng" ]
5656- '';
5754 description = ''
5855 A list of paths that should be included in syslog-ng's
5956 <literal>--module-path</literal> option. They should usually
+13
nixos/release.nix
···1717 # Run the tests for each platform. You can run a test by doing
1818 # e.g. ‘nix-build -A tests.login.x86_64-linux’, or equivalently,
1919 # ‘nix-build tests/login.nix -A result’.
2020+ # See also nixosTests in pkgs/top-level/all-packages.nix
2021 allTestsForSystem = system:
2122 import ./tests/all-tests.nix {
2223 inherit system;
···2425 callTest = t: {
2526 ${system} = hydraJob t.test;
2627 };
2828+ } // {
2929+ # for typechecking of the scripts and evaluation of
3030+ # the nodes, without running VMs.
3131+ allDrivers =
3232+ import ./tests/all-tests.nix {
3333+ inherit system;
3434+ pkgs = import ./.. { inherit system; };
3535+ callTest = t: {
3636+ ${system} = hydraJob t.test.driver;
3737+ };
3838+ };
2739 };
4040+2841 allTests =
2942 foldAttrs recursiveUpdate {} (map allTestsForSystem supportedSystems);
3043
+2-17
nixos/tests/all-tests.nix
···2727 };
2828 evalMinimalConfig = module: nixosLib.evalModules { modules = [ module ]; };
29293030- allDrivers = getDrivers tests;
3131-3232- getDrivers = ts:
3333- if isDerivation ts
3434- then ts.driver or null
3535- else if isAttrs ts
3636- then recurseIntoAttrs (mapAttrs (k: getDrivers) ts)
3737- else null;
3838-3939- tests = {
4040-4141- # for typechecking of the scripts and evaluation of
4242- # the nodes, without running VMs.
4343- inherit allDrivers;
4444-3030+in {
4531 _3proxy = handleTest ./3proxy.nix {};
4632 acme = handleTest ./acme.nix {};
4733 adguardhome = handleTest ./adguardhome.nix {};
···634620 zookeeper = handleTest ./zookeeper.nix {};
635621 zrepl = handleTest ./zrepl.nix {};
636622 zsh-history = handleTest ./zsh-history.nix {};
637637-};
638638-in tests
623623+}
···11-source "$stdenv/setup" || exit 1
22-33-# XXX: Eventually we could consider building the PDF/PS files as well.
44-55-echo "source is \`$src', report name is \`$reportName'"
66-77-mkdir -p "$out/share/info" && \
88-makeinfo -o "$out/share/info/${reportName}.info" "$src"
99-1010-# XXX: HTML output is apparently broken.
1111-#mkdir -p "$out/share/doc/${reportName}" && \
1212-#makeinfo -o "$out/share/doc/${reportName}/html" --html --force "$src"
-30
pkgs/data/documentation/rnrs/common.nix
···11-{ fetchurl, stdenv, texinfo, revision, sha256 }:
22-33-stdenv.mkDerivation rec {
44- name = "r${toString revision}rs";
55- src = fetchurl {
66- url = "http://swiss.csail.mit.edu/ftpdir/scm/${name}.txi";
77- inherit sha256;
88- };
99-1010- buildInputs = [ texinfo ];
1111-1212- # Tell the builder about the name of the report.
1313- reportName = name;
1414-1515- builder = ./builder.sh;
1616-1717- meta = {
1818- description = "Revised^${toString revision} Report on the Algorithmic Language Scheme";
1919-2020- longDescription = ''
2121- This package contains the GNU Info version of the
2222- the ${toString revision}th revision of the Report on the
2323- Algorithmic Language Scheme.
2424- '';
2525-2626- homepage = "http://swiss.csail.mit.edu/~jaffer/Scheme";
2727-2828- broken = true;
2929- };
3030-}
···11-{ lib, stdenv, fetchurl, unzip, libGLU, libGL, libX11, SDL, openal, runtimeShell }:
22-stdenv.mkDerivation rec {
33- pname = "tremulous";
44- version = "1.1.0";
55- src1 = fetchurl {
66- url = "mirror://sourceforge/tremulous/${pname}-${version}.zip";
77- sha256 = "11w96y7ggm2sn5ncyaffsbg0vy9pblz2av71vqp9725wbbsndfy7";
88- };
99- # http://tremulous.net/wiki/Client_versions
1010- src2 = fetchurl {
1111- url = "http://releases.mercenariesguild.net/client/mgclient_source_Release_1.011.tar.gz";
1212- sha256 = "1vrsi7va7hdp8k824663s1pyw9zpsd4bwwr50j7i1nn72b0v9a26";
1313- };
1414- src3 = fetchurl {
1515- url = "http://releases.mercenariesguild.net/tremded/mg_tremded_source_1.01.tar.gz";
1616- sha256 = "1njrqlhzjvy9myddzkagszwdcf3m4h08wip888w2rmbshs6kz6ql";
1717- };
1818- nativeBuildInputs = [ unzip ];
1919- buildInputs = [ libGLU libGL libX11 SDL openal ];
2020- unpackPhase = ''
2121- unzip $src1
2222- cd tremulous
2323- tar xvf $src2
2424- mkdir mg_tremded_source
2525- cd mg_tremded_source
2626- tar xvf $src3
2727- cd ..
2828- '';
2929- patches = [ ./parse.patch ];
3030- patchFlags = [ "-p" "0" ];
3131- NIX_LD_FLAGS = ''
3232- -rpath ${stdenv.cc}/lib
3333- -rpath ${stdenv.cc}/lib64
3434- '';
3535- buildPhase = ''
3636- cd Release_1.011
3737- make
3838- cd ..
3939- cd mg_tremded_source
4040- make
4141- cd ..
4242- '';
4343- installPhase = ''
4444- arch=$(uname -m | sed -e s/i.86/x86/)
4545- mkdir -p $out/opt/tremulous
4646- cp -v Release_1.011/build/release-linux-$arch/tremulous.$arch $out/opt/tremulous/
4747- cp -v mg_tremded_source/build/release-linux-$arch/tremded.$arch $out/opt/tremulous/
4848- cp -rv base $out/opt/tremulous
4949- mkdir -p $out/bin
5050- for b in tremulous tremded
5151- do
5252- cat << EOF > $out/bin/$b
5353- #!${runtimeShell}
5454- cd $out/opt/tremulous
5555- exec ./$b.$arch "\$@"
5656- EOF
5757- chmod +x $out/bin/$b
5858- done
5959- '';
6060- dontPatchELF = true;
6161- meta = with lib; {
6262- description = "A game that blends a team based FPS with elements of an RTS";
6363- longDescription = ''
6464- Tremulous is a free, open source game that blends a team based FPS with
6565- elements of an RTS. Players can choose from 2 unique races, aliens and
6666- humans. Players on both teams are able to build working structures
6767- in-game like an RTS. These structures provide many functions, the most
6868- important being spawning. The designated builders must ensure there are
6969- spawn structures or other players will not be able to rejoin the game
7070- after death. Other structures provide automated base defense (to some
7171- degree), healing functions and much more...
7272- '';
7373- homepage = "http://www.tremulous.net";
7474- license = with licenses; [
7575- gpl2
7676- cc-by-sa-25 /* media */
7777- ];
7878- maintainers = with maintainers; [ astsmtl ];
7979- platforms = platforms.linux;
8080- broken = true;
8181- };
8282-}
···11-Systemd no longer has the pci-db program.
22-33-diff -ru -x '*~' udisks-1.0.4-orig/data/80-udisks.rules udisks-1.0.4/data/80-udisks.rules
44---- udisks-1.0.4-orig/data/80-udisks.rules 2011-08-25 23:31:20.000000000 +0200
55-+++ udisks-1.0.4/data/80-udisks.rules 2012-12-13 13:06:52.189650854 +0100
66-@@ -3,7 +3,6 @@
77-88- # import names for PCI storage controllers
99- #
1010--SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"
1111-1212- # Set eSATA port type for known eSATA CardBus adapters - first we want to ensure
1313- # the device is on a cardbus controller (upper PCI device) - then we check
-57
pkgs/os-specific/linux/udisks/purity.patch
···11-diff --git a/data/80-udisks.rules b/data/80-udisks.rules
22-index 6720394..60b67ed 100644
33---- a/data/80-udisks.rules
44-+++ b/data/80-udisks.rules
55-@@ -23,7 +23,7 @@ LABEL="ata_port_cardbus_end"
66- # this is the case we can trigger a 'change' on the sas_expander device
77- # when the bsg device appears)
88- #
99--SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="udisks-probe-sas-expander /sys/%p"
1010-+SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="@slashlibdir@/udev/udisks-probe-sas-expander /sys/%p"
1111-1212- ##############################################################################################################
1313-1414-@@ -54,7 +54,7 @@ ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="udisks_end"
1515- # import UDISKS_DM_* and UDISKS_LVM2_* properties - the long-term plan is to make the lvm2 and
1616- # device-mapper packages provide this information
1717- #
1818--KERNEL=="dm-*", IMPORT{program}="udisks-dm-export %M %m"
1919-+KERNEL=="dm-*", IMPORT{program}="@slashlibdir@/udev/udisks-dm-export %M %m"
2020-2121- # Make udevd synthesize a 'change' uevent when last opener of a rw-fd closes the fd - this
2222- # should be part of the device-mapper rules
2323-@@ -63,7 +63,7 @@ KERNEL=="dm-*", OPTIONS+="watch"
2424- ##############################################################################################################
2525- # Probe LVM2 Physical Volumes - this will eventually be part of the LVM2 package
2626-2727--ENV{ID_FS_TYPE}=="LVM2_member", TEST=="/lib/udev/udisks-lvm-pv-export", IMPORT{program}="udisks-lvm-pv-export $env{ID_FS_UUID}"
2828-+ENV{ID_FS_TYPE}=="LVM2_member", TEST=="@slashlibdir@/udev/udisks-lvm-pv-export", IMPORT{program}="@slashlibdir@/udev/udisks-lvm-pv-export $env{ID_FS_UUID}"
2929-3030- ##############################################################################################################
3131-3232-@@ -85,7 +85,7 @@ KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="", GOTO="probe_parttable_e
3333-3434- # scan for partition tables both on whole-disk and partitions
3535- #
3636--IMPORT{program}="udisks-part-id $tempnode"
3737-+IMPORT{program}="@slashlibdir@/udev/udisks-part-id $tempnode"
3838-3939- LABEL="probe_parttable_end"
4040-4141-@@ -109,13 +109,13 @@ LABEL="md_end"
4242- #
4343-4444- # USB ATA enclosures with a SAT layer
4545--KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
4646-+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
4747-4848- # ATA disks driven by libata
4949--KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
5050-+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
5151-5252- # ATA disks connected via SAS (not driven by libata)
5353--KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="udisks-probe-ata-smart $tempnode"
5454-+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
5555-5656-5757- # Example rule for tagging a device with a specific media type. Where and
···9696 awesome-4-0 = awesome; # Added 2022-05-05
9797 aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
9898 axoloti = throw "axoloti has been removed: abandoned by upstream"; # Added 2022-05-13
9999+ azure-vhd-utils = throw "azure-vhd-utils has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
99100 azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
100101101102 ### B ###
···385386386387 enblendenfuse = throw "'enblendenfuse' has been renamed to/replaced by 'enblend-enfuse'"; # Converted to throw 2022-02-22
387388 encryptr = throw "encryptr was removed because it reached end of life"; # Added 2022-02-06
389389+ envdir = throw "envdir has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
388390 envelope = throw "envelope has been removed from nixpkgs, as it was unmaintained"; # Added 2021-08-05
389391 epoxy = libepoxy; # Added 2021-11-11
390392 epsxe = throw "epsxe has been removed from nixpkgs, as it was unmaintained."; # added 2021-12-15
···13351337 telepathy_mission_control = throw "'telepathy_mission_control' has been renamed to/replaced by 'telepathy-mission-control'"; # Converted to throw 2022-02-22
13361338 telepathy_qt = throw "'telepathy_qt' has been renamed to/replaced by 'telepathy-qt'"; # Converted to throw 2022-02-22
13371339 telepathy_qt5 = throw "'telepathy_qt5' has been renamed to/replaced by 'libsForQt5.telepathy'"; # Converted to throw 2022-02-22
13381338- telepathy_salut = throw "'telepathy_salut' has been renamed to/replaced by 'telepathy-salut'"; # Converted to throw 2022-02-22
13391340 telnet = throw "'telnet' has been renamed to/replaced by 'inetutils'"; # Converted to throw 2022-02-22
13401341 terminus = throw "terminus has been removed, it was unmaintained in nixpkgs"; # Added 2021-08-21
13411342 terraform-provider-ibm = throw "'terraform-provider-ibm' has been renamed to/replaced by 'terraform-providers.ibm'"; # Converted to throw 2022-02-22
···13801381 tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # Added 2021-03-07
13811382 turbo-geth = throw "turbo-geth has been renamed to erigon"; # Added 2021-08-08
13821383 twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26
13841384+ tychus = throw "tychus has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
13831385 typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
1384138613851387 ### U ###
···14491451 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22
14501452 wormhole-rs = magic-wormhole-rs; # Added 2022-05-30. preserve, reason: Arch package name, main binary name
14511453 wmii_hg = wmii;
14541454+ ws = throw "ws has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03
14521455 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
1453145614541457 ### X ###