Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #11262 from spwhitt/bumblebee_have

bumblebee: use _have not have in bash completion

+7
+7
pkgs/tools/X11/bumblebee/default.nix
··· 67 67 68 68 nouveauDeviceOptions = extraNouveauDeviceOptions; 69 69 70 + # the have() function is deprecated and not available to bash completions the 71 + # way they are currently loaded in NixOS, so use _have. See #10936 72 + patchPhase = '' 73 + substituteInPlace scripts/bash_completion/bumblebee \ 74 + --replace "have optirun" "_have optirun" 75 + ''; 76 + 70 77 preConfigure = '' 71 78 # Substitute the path to the actual modinfo program in module.c. 72 79 # Note: module.c also calls rmmod and modprobe, but those just have to