diff options
Diffstat (limited to 'pkgs/applications/editors/typora/default.nix')
-rw-r--r-- | pkgs/applications/editors/typora/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/editors/typora/default.nix b/pkgs/applications/editors/typora/default.nix index 1418734fba1a9..049ba45f7af37 100644 --- a/pkgs/applications/editors/typora/default.nix +++ b/pkgs/applications/editors/typora/default.nix @@ -12,6 +12,9 @@ , pandoc }: +let + electron = electron_8; +in stdenv.mkDerivation rec { pname = "typora"; version = "0.9.89"; @@ -52,7 +55,7 @@ stdenv.mkDerivation rec { ''; postFixup = '' - makeWrapper ${electron_8}/bin/electron $out/bin/typora \ + makeWrapper ${electron}/bin/electron $out/bin/typora \ --add-flags $out/share/typora \ "''${gappsWrapperArgs[@]}" \ ${lib.optionalString withPandoc ''--prefix PATH : "${lib.makeBinPath [ pandoc ]}"''} \ |