Migrate to use nix flakes

This commit is contained in:
arne 2021-06-14 11:41:16 +02:00
commit 54864dbac2
5 changed files with 50 additions and 7 deletions

11
flake.nix Normal file
View file

@ -0,0 +1,11 @@
{
inputs.nixpkgs.url = github:NixOS/nixpkgs;
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShell.${system} = import ./shell.nix { inherit pkgs; };
};
}