diff options
author | Dominique Martinet @ odin <asmadeus@codewreck.org> | 2022-05-20 12:31:13 +0900 |
---|---|---|
committer | Dominique Martinet @ odin <asmadeus@codewreck.org> | 2022-05-20 12:31:13 +0900 |
commit | 8444af2d54c8afb2ec7123c10fc50f9530d98c6e (patch) | |
tree | 3af296b5a00f34f9b6ba75a25dd9e909747fceb7 | |
parent | c424f34f14dd34acf8857de5dbed487008579579 (diff) |
packages: add tex direnv fake package
-rw-r--r-- | pkgs/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tex/default.nix | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 1674677..385d02f 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -21,7 +21,7 @@ with import pkgs { system = "x86_64-linux"; }; rec { rmfakecloud = callPackage ./rmfakecloud { }; myTexlive = texlive.combine { - inherit (texlive) scheme-small collection-langfrench lettre; + inherit (texlive) scheme-small collection-langfrench lettre xetex; }; vaderetro = callPackage ./vaderetro { }; @@ -33,4 +33,5 @@ with import pkgs { system = "x86_64-linux"; }; rec { linux = callPackage ./linux { }; rust = callPackage ./rust { }; sway = callPackage ./sway { }; + tex = callPackage ./tex { inherit myTexlive; }; } diff --git a/pkgs/tex/default.nix b/pkgs/tex/default.nix new file mode 100644 index 0000000..9971515 --- /dev/null +++ b/pkgs/tex/default.nix @@ -0,0 +1,16 @@ +{ stdenv +, myTexlive +}: + +stdenv.mkDerivation { + name = "tex"; + src = null; + + buildInputs = [ + myTexlive + ]; + + shellHook = '' + export HISTFILE="$HOME/.bash_history.tex" + ''; +} |