Add flake.nix
This commit is contained in:
parent
f498ceb6f2
commit
8eaf02b9cd
23
flake.nix
Normal file
23
flake.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user