summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-11 16:31:03 -0400
committerSeth Flynn <[email protected]>2025-03-11 17:57:46 -0400
commit336dc00a94e39337c64decd6d0f4f6e4a4d43187 (patch)
tree7e5cb2b56913e398afab4de495bed0401a16493f /default.nix
initial commitHEADmain
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..f85152f
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,17 @@
+{
+ sources ? import ./npins,
+ lib ? import (
+ sources.nixpkgs
+ or (throw "cores: could not find `nixpkgs` in `sources.` Please pass `lib` manually")
+ + "/lib"
+ ),
+ specialArgs ? { },
+}:
+
+let
+ coresLib = import ./lib.nix { inherit lib; };
+in
+
+module:
+
+coresLib.mkCores { inherit module specialArgs sources; }