Graphical PDS migrator for AT Protocol
at main 960 B view raw
1{ 2 description = "A very basic flake"; 3 4 inputs = { 5 nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 6 }; 7 8 outputs = { self, nixpkgs }: let 9 system = "x86_64-linux"; 10 pkgs = import nixpkgs { inherit system; }; 11 in { 12 devShells.${system}.default = pkgs.mkShell { 13 buildInputs = with pkgs; [ 14 deno 15 just 16 gcc 17 18 # Sharp dependencies 19 vips 20 pkg-config 21 22 # SQLite dependencies 23 sqlite 24 # Build tools for native modules 25 nodePackages.node-gyp 26 gnumake 27 28 # Standard C++ library and other common dependencies 29 stdenv.cc.cc.lib 30 31 nodejs 32 yarn-berry 33 git-lfs 34 ]; 35 36 shellHook = '' 37 if [ ! -f .env ]; then 38 echo "COOKIE_SECRET=$(openssl rand -hex 32)" > .env 39 echo ".env file created with COOKIE_SECRET" 40 else 41 echo ".env file already exists" 42 fi 43 ''; 44 }; 45 }; 46}