Add Nix flake with devShell for reliabl environment setup next time

This commit is contained in:
Payas Relekar 2020-11-28 19:49:54 +05:30
parent da076ae28a
commit bbaa77dc99

15
flake.nix Normal file
View 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 ];
};
};
}