adtya.xyz/flake.nix

36 lines
672 B
Nix
Raw Normal View History

2023-11-06 01:26:46 +05:30
{
description = "adtya.xyz";
inputs = {
2023-11-26 16:41:10 +05:30
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
2023-11-06 01:26:46 +05:30
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
with pkgs; let
zs = callPackage ./zs.nix { };
in
{
formatter = nixpkgs-fmt;
devShells.default = mkShell {
buildInputs = [
zs
];
};
packages.default = callPackage ./default.nix { inherit zs; };
}
);
}