Something went wrong. Try again.
CLI tool for migrating PDS
Something went wrong. Try again.
pds-migrate flake.nix
929 B · 29 lines
Nix
at main
123456789101112131415161718192021222324252627282930{ description = "Nix flake for PDS migrate. A CLI tool for migrating between PDSs in the atmosphere (atproto network)";
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; };
outputs = { self, nixpkgs, ...}: let forAllSystems = function: nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( system: (function system nixpkgs.legacyPackages.${system}) ); in { packages = forAllSystems (system: pkgs: { default = pkgs.callPackage ./nix/package.nix {}; }); devShells = forAllSystems (system: pkgs: { default = self.packages.${system}.default.overrideAttrs (prev: { nativeBuildInputs = with pkgs; [ # Additional rust tooling clippy rustfmt rust-analyzer ] ++ (prev.nativeBuildInputs or [ ]); RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }); }); };}