mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
linuxPackages.nvidia_x11_legacy304.settings: force i686
This legacy settings application doesn't support x86_64.
This commit is contained in:
parent
00e5b20d17
commit
4b67702e5b
@ -46,6 +46,7 @@ rec {
|
|||||||
persistencedSha256 = null;
|
persistencedSha256 = null;
|
||||||
useGLVND = false;
|
useGLVND = false;
|
||||||
useProfiles = false;
|
useProfiles = false;
|
||||||
|
settings32Bit = true;
|
||||||
|
|
||||||
prePatch = let
|
prePatch = let
|
||||||
debPatches = fetchurl {
|
debPatches = fetchurl {
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
, useGLVND ? true
|
, useGLVND ? true
|
||||||
, useProfiles ? true
|
, useProfiles ? true
|
||||||
, preferGtk2 ? false
|
, preferGtk2 ? false
|
||||||
|
, settings32Bit ? false
|
||||||
|
|
||||||
, prePatch ? ""
|
, prePatch ? ""
|
||||||
, patches ? []
|
, patches ? []
|
||||||
@ -68,7 +69,7 @@ let
|
|||||||
disallowedReferences = optional (!libsOnly) [ kernel.dev ];
|
disallowedReferences = optional (!libsOnly) [ kernel.dev ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
settings = callPackage (import ./settings.nix self settingsSha256) {
|
settings = (if settings32Bit then callPackage_i686 else callPackage) (import ./settings.nix self settingsSha256) {
|
||||||
withGtk2 = preferGtk2;
|
withGtk2 = preferGtk2;
|
||||||
withGtk3 = !preferGtk2;
|
withGtk3 = !preferGtk2;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user