From 52879c9050c9786ea8aa018ab16a5284199d1131 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 11 Feb 2015 15:29:34 +0000 Subject: [PATCH] pass: fix completion installation --- pkgs/tools/security/pass/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix index 74889a05bee..bca6fc3d7d1 100644 --- a/pkgs/tools/security/pass/default.nix +++ b/pkgs/tools/security/pass/default.nix @@ -35,13 +35,15 @@ stdenv.mkDerivation rec { ''; }; - installPhase = '' - PREFIX="$out" make install - + preInstall = '' mkdir -p "$out/share/bash-completion/completions" mkdir -p "$out/share/zsh/site-functions" mkdir -p "$out/share/fish/completions" + ''; + installFlags = [ "PREFIX=$(out)" ]; + + postInstall = '' # Install Emacs Mode. NOTE: We can't install the necessary # dependencies (s.el and f.el) here. The user has to do this # himself.