35 lines
672 B
Nix
35 lines
672 B
Nix
{
|
|
description = "adtya.xyz";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-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; };
|
|
}
|
|
);
|
|
}
|