Add Nix flake with devShell for reliabl environment setup next time
This commit is contained in:
parent
da076ae28a
commit
bbaa77dc99
1 changed files with 15 additions and 0 deletions
15
flake.nix
Normal file
15
flake.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
description = "Resume";
|
||||
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; };
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
in {
|
||||
devShell."${system}" = # architecture must be specified for devShell
|
||||
pkgs.mkShell {
|
||||
name = "resume";
|
||||
buildInputs = with pkgs;[ texlive.combined.scheme-medium ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue