Environment
This commit is contained in:
10
flake.nix
Normal file
10
flake.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
description = "";
|
||||
outputs = { self, nixpkgs }: let pkgs = nixpkgs.legacyPackages.aarch64-darwin; lib = nixpkgs.lib; in {
|
||||
devShells.aarch64-darwin.default = pkgs.mkShell {
|
||||
packages = with pkgs; [latexrun texlive.combined.scheme-full entr texlab (writeShellScriptBin "livetex" ''
|
||||
${pkgs.coreutils}/bin/ls *.tex | ${entr}/bin/entr -c -s "${latexrun}/bin/latexrun -Wall '$1' && echo Compiled at \$(${pkgs.coreutils}/bin/date)"
|
||||
'')];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user