adtya.xyz/flake.nix

36 lines
670 B
Nix
Raw Normal View History

2023-11-06 01:26:46 +05:30
{
description = "adtya.xyz";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
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; };
}
);
}