Better rust and latex configuration

This commit is contained in:
Filippo Berto 2022-12-24 15:19:02 +01:00
parent f93a17a74f
commit 1011735683
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 62 additions and 5 deletions

View file

@ -13,6 +13,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware";
nix-rice = { url = "github:bertof/nix-rice"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils"; }; };
pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils"; }; };
tex2nix = { url = "github:Mic92/tex2nix"; inputs = { nixpkgs.follows = "nixpkgs"; flake-utils.follows = "flake-utils"; }; };
};
outputs =
@ -27,6 +28,7 @@
, nixos-hardware
, nix-rice
, pre-commit-hooks
, tex2nix
}:
let
config = {
@ -43,6 +45,7 @@
(self: _: {
stable = import nixpkgs { inherit config overlays; inherit (self) system; };
unstable = import nixpkgs-u { inherit config overlays; inherit (self) system; };
inherit (tex2nix.packages.${self.system}) tex2nix;
})
# Nix rice