diff options
Diffstat (limited to 'users/gkleen@hel.nix')
-rw-r--r-- | users/gkleen@hel.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/gkleen@hel.nix b/users/gkleen@hel.nix index 14ffb73e..fa4989e2 100644 --- a/users/gkleen@hel.nix +++ b/users/gkleen@hel.nix | |||
@@ -10,9 +10,11 @@ | |||
10 | ''; | 10 | ''; |
11 | }; | 11 | }; |
12 | gnupg = pkgs.lib.overrideDerivation pkgs.gnupg (oldAttrs: { | 12 | gnupg = pkgs.lib.overrideDerivation pkgs.gnupg (oldAttrs: { |
13 | buildInputs = [ pkgs.makeWrapper ]; | ||
13 | postBuild = '' | 14 | postBuild = '' |
14 | wrapProgram $out/bin/gpg \ | 15 | wrapProgram $out/bin/gpg \ |
15 | --run "while ! systemctl --user show-environment | grep -qE '^DISPLAY='; do sleep 1; done" | 16 | --run "while ! systemctl --user show-environment | grep -qE '^DISPLAY='; do sleep 1; done" \ |
17 | --run "systemctl --user import-environment DISPLAY" | ||
16 | ''; | 18 | ''; |
17 | postInstall = '' | 19 | postInstall = '' |
18 | ln -s $out/bin/gpg2 $out/bin/gpg | 20 | ln -s $out/bin/gpg2 $out/bin/gpg |