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;
|
||||
useGLVND = false;
|
||||
useProfiles = false;
|
||||
settings32Bit = true;
|
||||
|
||||
prePatch = let
|
||||
debPatches = fetchurl {
|
||||
|
@ -6,6 +6,7 @@
|
||||
, useGLVND ? true
|
||||
, useProfiles ? true
|
||||
, preferGtk2 ? false
|
||||
, settings32Bit ? false
|
||||
|
||||
, prePatch ? ""
|
||||
, patches ? []
|
||||
@ -68,7 +69,7 @@ let
|
||||
disallowedReferences = optional (!libsOnly) [ kernel.dev ];
|
||||
|
||||
passthru = {
|
||||
settings = callPackage (import ./settings.nix self settingsSha256) {
|
||||
settings = (if settings32Bit then callPackage_i686 else callPackage) (import ./settings.nix self settingsSha256) {
|
||||
withGtk2 = preferGtk2;
|
||||
withGtk3 = !preferGtk2;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user