···67676868 nouveauDeviceOptions = extraNouveauDeviceOptions;
69697070+ # the have() function is deprecated and not available to bash completions the
7171+ # way they are currently loaded in NixOS, so use _have. See #10936
7272+ patchPhase = ''
7373+ substituteInPlace scripts/bash_completion/bumblebee \
7474+ --replace "have optirun" "_have optirun"
7575+ '';
7676+7077 preConfigure = ''
7178 # Substitute the path to the actual modinfo program in module.c.
7279 # Note: module.c also calls rmmod and modprobe, but those just have to