convert to flake
This commit is contained in:
28
flake.nix
Normal file
28
flake.nix
Normal file
@@ -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;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user