So far, the output binary has been just "validate", which is quite a
very generic name and doesn't match the package name.
Even though I highly doubt that this program will ever be used outside
of NixOS modules, it's nevertheless less confusing to have a consistent
naming.
Signed-off-by: aszlig <aszlig@nix.build>
The only reason why I was using _GNU_SOURCE was because of vasprintf(),
so getting rid of that extension should make the source way more
portable.
When using vsnprintf() with a null pointer for the output buffer and a
size of 0, I wasn't quite sure whether this would be undefined
behaviour, so I looked it up in the C11 standard.
In section 7.21.6.5, it explicitly mentions this case, so we're lucky:
If n is zero, nothing is written, and s may be a null pointer.
Additionally, section 7.21.6.12 writes the following about vsnprintf():
The vsnprintf function does not invoke the va_end macro.
So to be sure to avoid undefined behaviour I subsequently added the
corresponding va_end() calls.
With this, the platforms attribute is now "unix", because the program
should now even run on OS X, even though it usually wouldn't be needed.
Signed-off-by: aszlig <aszlig@nix.build>
I initially didn't use $CC because I thought this would be GCC specific,
but it turns out that Clang actually accepts -std=gnu11.
So using $CC here might not work on compilers other than Clang or GCC,
but at the moment those are the compilers we typically use in nixpkgs,
so even if we'd use some other compiler it *might* even work there.
I've tested this by compiling against clangStdenv with both $CC and
clang hardcoded and it works.
This was reported by @dkudriavtsev on IRC.
Signed-off-by: aszlig <aszlig@nix.build>
1.2 only allows running in the foreground if debug mode is enabled which
generates lots of noise for journald.
The changes from the most recent release is only a few minor fixes plus support
for running in the foreground with the `-f` flag.
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.
Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.
The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
This stops arandr from crashing if it tries to open a dialog box.
Note: the hook doesn't play nicely with gobject-introspection unless
strictDeps = false. See NixOS#56943.
According to xsecurelock's configure.ac file, each of the add
dependencies are used to:
- libXrandr: XRandR provides information about monitor layouts and is
strongly recommended on systems which can use more than one monitor
(which includes most laptops).
- libXext: The X Synchronization extension is used to get per-device idle
times. Used by until_nonidle only.
- libXScrnSaver: The X11 Screen Saver extension is used to turn off the
screen saver when X11 handles screen blanking (e.g. via timeout) anyway.
Saves CPU power.
Adding libXrandr fixes an issue where locking a screen in a multi
monitor setup results in the prompt information to not be in the middle
of the screen. The other dependencies are not tested if they fixed
something, however since upstream recommends than I think it is fair to
include them also.
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
* Add an alias with a deprecation warning for `nxproxy` to avoid an
immediate breaking change.
* Use the default shell used in the build environment (`stdenv.shell`)
for patching. This shell is in the environment and thus used to patch
scripts using `patchShebangs`. The shell is referenced as `stdenv.shell`
in Makefiles to patch the remaining occurrences of `/bin/bash` in the
build environment.
patching the currently broken Xdummy script out of the Makefile.am, else it gets put into bin.
this is not a regression of functionality, as it doesn't appear to be put into bin in the upstream version either.
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.
Misc...
- qtikz: use libsForQt5.callPackage
This ensures we get the right poppler.
- rewrites:
docbook5_xsl -> docbook_xsl_ns
docbook_xml_xslt -> docbook_xsl
diffpdf: fixup
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/xpra/versions.
These checks were done:
- built on NixOS
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra passed the binary check.
- Warning: no invocation of /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra_Xdummy had a zero exit code or showed the expected version
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra_udev_product_version passed the binary check.
- Warning: no invocation of /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/.xpra_browser-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra_browser had a zero exit code or showed the expected version
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/.xpra_launcher-wrapped passed the binary check.
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra_launcher passed the binary check.
- Warning: no invocation of /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/.xpra_signal_listener-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/xpra_signal_listener had a zero exit code or showed the expected version
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/..xpra-wrapped-wrapped passed the binary check.
- /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2/bin/.xpra-wrapped passed the binary check.
- 6 of 11 passed binary check by having a zero exit code.
- 0 of 11 passed binary check by having the new version present in output.
- found 2.3.2 with grep in /nix/store/fzfjz4f220146zh638axrmgl63fxkfmk-xpra-2.3.2
- directory tree listing: https://gist.github.com/91468b1ca1959b1e5d4994b90772daf4
- du listing: https://gist.github.com/f56ad6737d400b6310e5fd6353ee7e83
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/xpra/versions.
These checks were done:
- built on NixOS
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra passed the binary check.
- Warning: no invocation of /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra_Xdummy had a zero exit code or showed the expected version
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra_udev_product_version passed the binary check.
- Warning: no invocation of /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/.xpra_browser-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra_browser had a zero exit code or showed the expected version
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/.xpra_launcher-wrapped passed the binary check.
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra_launcher passed the binary check.
- Warning: no invocation of /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/.xpra_signal_listener-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/xpra_signal_listener had a zero exit code or showed the expected version
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/..xpra-wrapped-wrapped passed the binary check.
- /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1/bin/.xpra-wrapped passed the binary check.
- 6 of 11 passed binary check by having a zero exit code.
- 0 of 11 passed binary check by having the new version present in output.
- found 2.3.1 with grep in /nix/store/l56gn6d9mhf9w91awvnwp8xyz5n21ihq-xpra-2.3.1
- directory tree listing: https://gist.github.com/7606ce6a89a1f8d80289d7e80071283f
- du listing: https://gist.github.com/02108b6781cb898bec5d8a6033508e03
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/xpra/versions.
These checks were done:
- built on NixOS
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra passed the binary check.
- Warning: no invocation of /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra_Xdummy had a zero exit code or showed the expected version
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra_udev_product_version passed the binary check.
- Warning: no invocation of /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/.xpra_browser-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra_browser had a zero exit code or showed the expected version
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/.xpra_launcher-wrapped passed the binary check.
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra_launcher passed the binary check.
- Warning: no invocation of /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/.xpra_signal_listener-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/xpra_signal_listener had a zero exit code or showed the expected version
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/..xpra-wrapped-wrapped passed the binary check.
- /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3/bin/.xpra-wrapped passed the binary check.
- 6 of 11 passed binary check by having a zero exit code.
- 0 of 11 passed binary check by having the new version present in output.
- found 2.3 with grep in /nix/store/qj6c3wgczrd94h9xc80nx6idcimyx77r-xpra-2.3
- directory tree listing: https://gist.github.com/9e03a45b8255a45b7df6fbcf24b6f408
- du listing: https://gist.github.com/a48b995e2d458e3b9da00ae42675dbe6
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/xpra/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/xpra -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/xpra --help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/udev_product_version -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/udev_product_version --help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/udev_product_version help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/.xpra_launcher-wrapped -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/.xpra_launcher-wrapped --help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/xpra_launcher -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/xpra_launcher --help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/..xpra-wrapped-wrapped -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/..xpra-wrapped-wrapped --help’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/.xpra-wrapped -h’ got 0 exit code
- ran ‘/nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6/bin/.xpra-wrapped --help’ got 0 exit code
- found 2.2.6 with grep in /nix/store/yh7iwzli0pcqnhm2vdcc2ha5ifig1ix0-xpra-2.2.6
- directory tree listing: https://gist.github.com/01ffc3c415200e59fd7469357044a87a
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/xpra/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra --version` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra -h` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra --help` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/udev_product_version -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/udev_product_version --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/udev_product_version help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra_launcher-wrapped -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra_launcher-wrapped --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra_launcher-wrapped --version` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra_launcher-wrapped -h` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra_launcher-wrapped --help` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra_launcher -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra_launcher --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra_launcher --version` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra_launcher -h` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/xpra_launcher --help` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/..xpra-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/..xpra-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/..xpra-wrapped-wrapped --version` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/..xpra-wrapped-wrapped -h` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/..xpra-wrapped-wrapped --help` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra-wrapped -h` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra-wrapped --help` got 0 exit code
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra-wrapped --version` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra-wrapped -h` and found version 2.2.5
- ran `/nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5/bin/.xpra-wrapped --help` and found version 2.2.5
- found 2.2.5 with grep in /nix/store/fdgkwl5jg6lzkkf3s06xnljssfcwgpbg-xpra-2.2.5
- directory tree listing: https://gist.github.com/b8906f2abe5109a6ace5790246e4d62a
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/xpra -h` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/xpra --help` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/xpra --version` and found version 2.2.5
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/udev_product_version -h` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/udev_product_version --help` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/udev_product_version help` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/..xpra-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/..xpra-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/..xpra-wrapped-wrapped --version` and found version 2.2.5
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/.xpra-wrapped -h` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/.xpra-wrapped --help` got 0 exit code
- ran `/nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5/bin/.xpra-wrapped --version` and found version 2.2.5
- found 2.2.5 with grep in /nix/store/raq8vylxav1gm8v4gsphfmpbq6mw9362-xpra-2.2.5
- directory tree listing: https://gist.github.com/78f0907352399b3a9966fb6f71f1f0d4
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17/bin/xdg-user-dirs-update --help` got 0 exit code
- ran `/nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17/bin/.xdg-user-dirs-update-wrapped --help` got 0 exit code
- ran `/nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17/bin/xdg-user-dir -h` got 0 exit code
- ran `/nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17/bin/xdg-user-dir --help` got 0 exit code
- ran `/nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17/bin/xdg-user-dir help` got 0 exit code
- found 0.17 with grep in /nix/store/2isrxm5fr9kgxkh0pbzb5d77jpip1vvd-xdg-user-dirs-0.17
- directory tree listing: https://gist.github.com/e8c151156e7a65f9f958a9a64e1e5a86
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.9 with grep in /nix/store/254qz2nmlqkyzn1hv598i5y9spx50wji-xvkbd-3.9
- found 3.9 in filename of file in /nix/store/254qz2nmlqkyzn1hv598i5y9spx50wji-xvkbd-3.9
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra --version` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra -h` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra --help` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/udev_product_version -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/udev_product_version --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/udev_product_version help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra_launcher-wrapped -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra_launcher-wrapped --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra_launcher-wrapped --version` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra_launcher-wrapped -h` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra_launcher-wrapped --help` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra_launcher -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra_launcher --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra_launcher --version` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra_launcher -h` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/xpra_launcher --help` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/..xpra-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/..xpra-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/..xpra-wrapped-wrapped --version` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/..xpra-wrapped-wrapped -h` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/..xpra-wrapped-wrapped --help` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra-wrapped -h` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra-wrapped --help` got 0 exit code
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra-wrapped --version` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra-wrapped -h` and found version 2.2.4
- ran `/nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4/bin/.xpra-wrapped --help` and found version 2.2.4
- found 2.2.4 with grep in /nix/store/sdb561gabzb04az1f9wq6190prqzv618-xpra-2.2.4
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.wcw-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.wcw-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.wcw-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.wcw-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_applet-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_applet-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_applet-wrapped help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_away-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_away-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_away-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_away-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_back-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_back-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_back-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_back-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_client-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_client-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_command_wrapper-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_command_wrapper-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_command_wrapper-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_command_wrapper-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_server-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_server-wrapped --version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_server-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_Xnest-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_Xnest-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_Xnest-wrapped help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_session-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_session-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_ssh_session-wrapped help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_socket-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_socket-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_socket-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_socket-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped -V` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped -v` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped --version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/.winswitch_stdio_tcp-wrapped help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/wcw -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/wcw --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/wcw -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/wcw --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_applet -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_applet --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_applet help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_away -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_away --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_away -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_away --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_back -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_back --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_back -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_back --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_client -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_client --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_command_wrapper -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_command_wrapper --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_command_wrapper -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_command_wrapper --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_server --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_server --version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_server --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_Xnest -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_Xnest --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_Xnest help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_session -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_session --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_ssh_session help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_socket -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_socket --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_socket -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_socket --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp -h` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp --help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp help` got 0 exit code
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp -V` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp -v` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp --version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp version` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp -h` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp --help` and found version 0.12.23
- ran `/nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23/bin/winswitch_stdio_tcp help` and found version 0.12.23
- found 0.12.23 with grep in /nix/store/71f89z56xhgvh29an8nc7d5jl283968l-winswitch-0.12.23
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
Checking the keyboard layout has been a long set of hurdles so far, with
several attempts. Originally, the checking was introduced by @lheckemann
in #23709.
The initial implementation just was trying to check whether the symbols/
directory contained the layout name.
Unfortunately, that wasn't enough and keyboard variants weren't
recognized, so if you set layout to eg. "dvorak" it will fail with an
error (#25526).
So my improvement on that was to use sed to filter rules/base.lst and
match the layout against that. I fucked up twice with this, first
because layout can be a comma-separated list which I didn't account for
and second because I ran into a Nix issue (NixOS/nix#1426).
After fixing this, it still wasn't enough (and this is btw. what
localectl also does), because we were *only* matching rules but not
symbols, so using "eu" as a layout won't work either.
I decided now it's the time to actually use libxkbcommon to try
compiling the keyboard options and see whether it succeeds. This comes
in the form of a helper tool called xkbvalidate.
IMHO this approach is a lot less error-prone and we can be sure that we
don't forget about anything because that's what the X server itself uses
to compile the keymap.
Another advantage of this is that we now validate the full set of XKB
options rather than just the layout.
Tested this against a variety of wrong and correct keyboard
configurations and against the "keymap" NixOS VM tests.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @lheckemann, @peti, @7c6f434c, @tohl, @vcunat, @lluchs
Fixes: #27597