diff options
Diffstat (limited to 'pkgs/katex-wrapper')
-rw-r--r-- | pkgs/katex-wrapper/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/katex-wrapper/default.nix b/pkgs/katex-wrapper/default.nix index ef1cce6..881883c 100644 --- a/pkgs/katex-wrapper/default.nix +++ b/pkgs/katex-wrapper/default.nix @@ -1,7 +1,7 @@ -{ stdenv, pkgs, ... }: +{ pkgs, ... }: let - katex-src = stdenv.mkDerivation rec { + katex-src = pkgs.stdenv.mkDerivation rec { name = "katex-src"; src = pkgs.fetchzip { @@ -19,10 +19,11 @@ let meta = { description = "KaTeX"; homepage = https://github.com/Khan/KaTeX; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.all; + license = pkgs.stdenv.lib.licenses.mit; + platforms = pkgs.stdenv.lib.platforms.all; }; }; + in pkgs.writeTextFile { name = "katex-wrapper"; executable = true; |