summary refs log tree commit diff
path: root/pkgs/tools/X11/bumblebee/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-12-09 21:02:54 +0300
committerNikolay Amiantov <ab@fmap.me>2015-12-09 21:04:34 +0300
commit67c109efe57012d41ad673e48f040be6a8e9977f (patch)
treec0f4a45bc4bfa6164ba784ffd399a5694f57b8da /pkgs/tools/X11/bumblebee/default.nix
parent781b9eab6163bba203dd536c965bc0b153522d6d (diff)
downloadnixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar.gz
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar.bz2
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar.lz
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar.xz
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.tar.zst
nixpkgs-67c109efe57012d41ad673e48f040be6a8e9977f.zip
bumblebee: use postPatch instead of patchPhase
Diffstat (limited to 'pkgs/tools/X11/bumblebee/default.nix')
-rw-r--r--pkgs/tools/X11/bumblebee/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix
index d1f0ce93ab4..2206905aa3e 100644
--- a/pkgs/tools/X11/bumblebee/default.nix
+++ b/pkgs/tools/X11/bumblebee/default.nix
@@ -69,7 +69,7 @@ in stdenv.mkDerivation rec {
 
   # the have() function is deprecated and not available to bash completions the
   # way they are currently loaded in NixOS, so use _have. See #10936
-  patchPhase = ''
+  postPatch = ''
     substituteInPlace scripts/bash_completion/bumblebee \
       --replace "have optirun" "_have optirun"
   '';