2024-01-09 13:16:31 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
2024-01-17 16:56:32 +00:00
|
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-01-09 13:16:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ {
|
|
|
|
nixpkgs,
|
|
|
|
flake-parts,
|
2024-01-17 16:56:32 +00:00
|
|
|
nixpkgs-unstable,
|
2024-01-09 13:16:31 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
2024-01-13 12:16:12 +00:00
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
"x86_64-darwin"
|
|
|
|
"aarch64-darwin"
|
|
|
|
];
|
2024-01-09 13:16:31 +00:00
|
|
|
perSystem = {pkgs, ...}: {
|
|
|
|
devShells.default = with pkgs;
|
|
|
|
mkShell {
|
|
|
|
packages = [
|
2024-01-17 16:56:32 +00:00
|
|
|
nixpkgs-unstable.legacyPackages.x86_64-linux.nim1
|
2024-01-09 13:16:31 +00:00
|
|
|
nimPackages.nimble
|
2024-01-10 12:14:33 +00:00
|
|
|
|
|
|
|
# Deps for waku
|
|
|
|
cargo
|
|
|
|
stdenv.cc
|
|
|
|
pkg-config
|
|
|
|
openssl.dev
|
2024-01-09 13:16:31 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|