Age | Commit message (Collapse) | Author | Files | Lines |
|
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.
For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.
This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.
A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.
There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.
For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.
Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
|
|
|
|
|
|
|
|
These aren't necessary for tigervnc to function, and introduce an
unfree dependency, so let's remove them.
|
|
Co-Authored-By: Ingo Blechschmidt <iblech@web.de>
|
|
|
|
|
|
ChangeLog: https://github.com/TigerVNC/tigervnc/releases/tag/v1.11.0
Also fixes CVE-2020-26117[1].
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-26117, #100324
|
|
|
|
vncserver of tigervnc doesn't start because xauth is missing from $PATH
|
|
|
|
|
|
tigervnc ships vncserver, quote from the documentation:
vncserver - a wrapper script which makes starting Xvnc more convenient vncserver requires Perl.
|
|
* tigervnc: 1.9.0 -> 1.10.0 (#74679)
+ refresh meta.homepage
|
|
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|
|
|
|
|
Fixes #40654
|
|
|
|
|
|
|
|
The server itself doesn't need those build inputs anymore,
but tigervnc does, apparently.
|
|
|
|
* tigervnc: correct default ssh client path
The -via command sets up an ssh tunnel, but is hardcoded to /usr/bin/ssh
upstream. This patches it to use the nixpkgs openssh client.
* tigervnc: patch ssh path correctly
|
|
|
|
|
|
This allows to build with X.org server 1.19.1
|
|
|
|
the xorg patch was not applied.
Also a different root for `make install` is needed.
In addition more unnessary option are disabled.
|
|
|
|
---
Using the configure option relieves us of the patch and passing the path
via the env var in many places. Also the env var may not be inherited
when components like gdm spawn new sessions.
|
|
|
|
- Prevent store collison with the xserver for two files
- Stop gcc from complaining at build time about C and CXX flags
- Enable parallel building for this expression
- Move to the new way of calling Xorg and it's dependencies
|
|
|
|
|
|
The default xorgserver is now on 1.16 and so the patch needs to change.
The 116 patch is not in 1.3.1 so we also need to upgrade.
I don't know how to compute this filename since the xorgserver derivation
doesn't have a version attribute.
|
|
tigervnc: fix xkb configuration for Xvnc
|
|
Without those fixes, Xvnc doesn't work at all.
|
|
The source is on github archive now. Therefore switch to fetchurl.
|
|
|
|
|
|
|
|
It's in our standard xorg-server now.
|
|
http://hydra.nixos.org/build/3875072
|
|
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
|
|
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
|
|
|
|
svn path=/nixpkgs/branches/x-updates/; revision=34147
|
|
manually replace it with openssl while cross-building
svn path=/nixpkgs/trunk/; revision=30709
|