aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorKierĂ¡n Meinhardt <kmein@posteo.de>2023-02-28 19:56:32 +0100
committertv <tv@krebsco.de>2023-02-28 20:32:17 +0100
commit66a1f6833464bbb121b6d94247ad769f277351f8 (patch)
tree6b816e6dfd49a97bb3325249496ec966cc13e6ff /flake.nix
parentd1424777b5f2e12cbd80efd1b55335dcba7c32bd (diff)
convert to flakeHEAD3.7.0master
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..265ce00
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,28 @@
+{
+ description = "nix library extension, containing sophisticated script and code generator functions";
+
+ inputs = {
+ flake-utils.url = "github:numtide/flake-utils";
+ nixpkgs.url = "github:NixOS/nixpkgs";
+ };
+
+ outputs = inputs @ {
+ self,
+ nixpkgs,
+ flake-utils,
+ }: let
+ nix-writersOverlay = import ./pkgs;
+ in
+ {
+ overlays = {
+ nix-writers = nix-writersOverlay;
+ default = nix-writersOverlay;
+ };
+ }
+ // flake-utils.lib.eachDefaultSystem (system: let
+ pkgs = import nixpkgs {inherit system;};
+ nix-writers = nix-writersOverlay pkgs pkgs;
+ in {
+ legacyPackages = nix-writers;
+ });
+}