36 lines
670 B
Nix
36 lines
670 B
Nix
|
{
|
||
|
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; };
|
||
|
}
|
||
|
);
|
||
|
}
|