adtya.xyz/flake.nix

33 lines
611 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
{
2023-12-09 01:10:44 +05:30
formatter = pkgs.nixpkgs-fmt;
devShells.default = pkgs.mkShell {
2023-11-06 01:26:46 +05:30
buildInputs = [
2023-12-09 01:10:44 +05:30
pkgs.zs
2023-11-06 01:26:46 +05:30
];
};
2023-12-09 01:10:44 +05:30
packages.default = pkgs.callPackage ./default.nix { };
2023-11-06 01:26:46 +05:30
}
);
}