Nix flakes on the AT protocol
3

Configure Feed

Select the types of activity you want to include in your feed.

chore: added build output for flake

+50 -1
+50 -1
flake.nix
··· 4 4 inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; # unstable Nixpkgs 5 5 6 6 outputs = 7 - { self, ... }@inputs: 7 + inputs@{ self, nixpkgs, ... }: 8 8 9 9 let 10 10 supportedSystems = [ ··· 24 24 ); 25 25 in 26 26 { 27 + packages = forEachSupportedSystem ( 28 + { pkgs, system }: { 29 + default = pkgs.stdenvNoCC.mkDerivation { 30 + pname = "nixat"; 31 + version = "272K"; 32 + src = self; 33 + nativeBuildInputs = [ pkgs.makeWrapper ]; 34 + 35 + meta = with nixpkgs.lib; { 36 + description = "A small script for publishing and building Nix flakes on and for the AT protocol"; 37 + homepage = "https://tangled.org/stau.space/nixat"; 38 + license = licenses.mit; 39 + platform = platforms.all; 40 + }; 41 + 42 + outputs = [ "out" ]; 43 + 44 + configurePhase = '' 45 + runHook preConfigure 46 + mkdir -p $out/bin 47 + runHook postConfigure 48 + ''; 49 + 50 + buildPhase = '' 51 + runHook preBuild 52 + cp ${./nixat} $out/bin/nixat 53 + chmod +w $out/bin/nixat 54 + wrapProgram $out/bin/nixat --prefix PATH : ${ 55 + pkgs.lib.makeBinPath ( 56 + with pkgs; 57 + [ 58 + jq 59 + git 60 + nix 61 + atproto-goat 62 + ] 63 + ) 64 + } 65 + runHook postBuild 66 + ''; 67 + 68 + propagatedBuildInputs = with pkgs; [ 69 + jq 70 + git 71 + ]; 72 + }; 73 + } 74 + ); 75 + 27 76 devShells = forEachSupportedSystem ( 28 77 { pkgs, system }: { 29 78 default = pkgs.mkShellNoCC {