Add flake.nix

This commit is contained in:
Eelco Dolstra 2019-02-11 12:27:17 +01:00
parent f498ceb6f2
commit 8eaf02b9cd
1 changed files with 23 additions and 0 deletions

23
flake.nix Normal file
View File

@ -0,0 +1,23 @@
{
name = "nixpkgs";
epoch = 2019;
description = "A collection of packages for the Nix package manager";
provides = flakes:
let pkgs = import ./. {}; in
{
lib = import ./lib;
builders = {
inherit (pkgs) stdenv fetchurl;
};
packages = {
inherit (pkgs) hello nix fuse nlohmann_json boost;
};
legacyPkgs = pkgs;
};
}