dev-templates/shell/flake.nix
Yuval Kogman 4a93a8af94 Add unix shell script environment
Only contains shellcheck, couldn't find other projects like explainshell
or bash-language-server in nixpkgs
2023-05-26 01:21:02 +03:00

27 lines
501 B
Nix

{
description = "A Nix-flake-based LaTeX development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
shellcheck
];
};
});
}