add flake support

This commit is contained in:
Naïm Favier 2020-12-15 16:01:40 +01:00
parent 7c06f610f1
commit ae89eafb81
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2
5 changed files with 98 additions and 12 deletions

View file

@ -1,11 +1 @@
let
nixpkgs = (import ./nix/sources.nix).nixpkgs-unstable;
pkgs = import nixpkgs {};
in
pkgs.mkShell {
buildInputs = with pkgs; [
(python3.withPackages(p: [p.sphinx p.sphinx_rtd_theme]))
niv
jq clamav
];
}
(import (builtins.fetchGit "https://github.com/edolstra/flake-compat") { src = ./.; }).shellNix