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