about summary refs log tree commit diff
path: root/pkgs/tools/X11/primus
AgeCommit message (Collapse)AuthorFilesLines
2021-11-09treewide: rename name to pname&versionFelix Buehler1-9/+17
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch1-2/+2
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2020-01-15treewide: Fix unsafe concatenation of $LD_LIBRARY_PATHAnders Kaseorg1-1/+1
Naive concatenation of $LD_LIBRARY_PATH can result in an empty colon-delimited segment; this tells glibc to load libraries from the current directory, which is definitely wrong, and may be a security vulnerability if the current directory is untrusted. (See #67234, for example.) Fix this throughout the tree. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-07-17primus: fix for libglvndNikolay Amiantov1-0/+2
Fixes #48795.
2019-06-17treewide: mesa_noglu, mesa_drivers, libGL_driver -> mesaMatthew Bauer1-2/+2
Just use mesa for these to be more clear. Move these to aliases.nix
2019-02-26treewide: use runtimeShell instead of stdenv.shell whenever possibleJörg Thalheim1-1/+2
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.
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+0
2018-03-26primusLib: fix path to libglapiNikolay Amiantov1-2/+2
2018-03-07primusLib: build only for x86 LinuxNikolay Amiantov1-1/+1
2018-03-05libGL rename: fallout after a week on masterVladimír Čunát1-5/+5
and a few nitpicks.
2017-08-01pkgs: refactor needless quoting of homepage meta attribute (#27809)Silvan Mosberger1-1/+1
* 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
2017-03-08primus: fix if nvidia is not usedNikolay Amiantov1-1/+4
Fixes #23628
2017-02-08primusLib: fix receiving long library pathsNikolay Amiantov1-1/+9
2017-02-08linuxPackages.nvidia_x11: refactor, build more from sourceNikolay Amiantov2-8/+18
* Use libglvnd; * Compile nvidia-settings, nvidia-persistenced from source; * Generalize builder.
2016-08-14primusLib: fix version, quote homepage for better clickabilityNikolay Amiantov1-2/+2
2016-05-20primusLib: move to fetchFromGitHub (and fix strange checksum error)Nikolay Amiantov1-4/+5
2016-03-31primus: propagate stdenv to primusLibsNikolay Amiantov1-2/+7
2015-12-05primus: 1.0.0748176 -> 20151204, add useNvidia flagNikolay Amiantov3-45/+35
2015-09-15x11: replace its usage by xlibsWrapper directlyVladimír Čunát1-2/+2
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
2015-05-14Turned some meta.maintainers into listsPascal Wittmann1-1/+1
2015-03-09primus: remove old workaround, fix LD_LIBRARY_PATHNikolay Amiantov1-6/+1
2014-12-20fix maintainer informationPascal Wittmann1-1/+1
s/maintainer/maintainers
2014-11-29Add primus and extend bumblebee to support 32bit/64bit multilib architectures.Corey O'Connor3-0/+72
Using primusrun will work as expected in a multilib environment. Even if the initial program executes a antoehr program of the another architecture. Assuming the program does not modify LD_LIBRARY_PATH inappropriately. This does not update virtualgl for seemless multilib. I was unable to get a mixed 64/32 bit environment to work with VirtualGL. The mechanism VirtualGL uses to inject the fake GL library would fail if both 32bit and 64 bit libraries were in the environment. Instead the bumblebee package creates a optirun32 executable that can be used to run a 32bit executable with optimus on a 64 bit host. This is not created if the host is 32bit. For my usage, gaming under wine, the primusrun executable works as expected regardless of 32bit/64bit.