CLI tool for migrating PDS
1{
2 description = "Nix flake for PDS migrate. A CLI tool for migrating between PDSs in the atmosphere (atproto network)";
3
4 inputs = {
5 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
6 };
7
8 outputs = { self, nixpkgs, ...}: let
9 forAllSystems = function:
10 nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (
11 system: (function system nixpkgs.legacyPackages.${system})
12 );
13 in {
14 packages = forAllSystems (system: pkgs: {
15 default = pkgs.callPackage ./nix/package.nix {};
16 });
17 devShells = forAllSystems (system: pkgs: {
18 default = self.packages.${system}.default.overrideAttrs (prev: {
19 nativeBuildInputs = with pkgs; [
20 # Additional rust tooling
21 clippy
22 rustfmt
23 rust-analyzer
24 ] ++ (prev.nativeBuildInputs or [ ]);
25 RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
26 });
27 });
28 };
29}