summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 00000000000..9f5434330aa
--- /dev/null
+++ b/flake.nix
@@ -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;
+    };
+}