2024-05-24 17:23:15 +05:30
|
|
|
{
|
|
|
|
description = "Varnam on Nix";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
formatter = pkgs.nixpkgs-fmt;
|
2024-05-24 17:23:42 +05:30
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
|
|
|
go_1_22
|
|
|
|
gnumake
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
};
|
2024-05-24 17:23:15 +05:30
|
|
|
packages = rec {
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|