alpha
Login
or
Join now
stau.space
/
nix-atproto
Star
3
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Nix flakes on the AT protocol
Star
3
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chore: added build output for flake
author
Sona Tau Estrada Rivera
date
14 hours ago
(Jul 26, 2026, 3:50 PM -0400)
commit
0fc37ef9
0fc37ef908ded2725183cf1e7d6e4617ff3b92fb
parent
9304cbce
9304cbce25d711266a643f25d05360dd4a2f6382
+50
-1
1 changed file
Expand all
Collapse all
Unified
Split
flake.nix
+50
-1
flake.nix
View file
Reviewed
···
4
4
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; # unstable Nixpkgs
5
5
6
6
outputs =
7
7
-
{ self, ... }@inputs:
7
7
+
inputs@{ self, nixpkgs, ... }:
8
8
9
9
let
10
10
supportedSystems = [
···
24
24
);
25
25
in
26
26
{
27
27
+
packages = forEachSupportedSystem (
28
28
+
{ pkgs, system }: {
29
29
+
default = pkgs.stdenvNoCC.mkDerivation {
30
30
+
pname = "nixat";
31
31
+
version = "272K";
32
32
+
src = self;
33
33
+
nativeBuildInputs = [ pkgs.makeWrapper ];
34
34
+
35
35
+
meta = with nixpkgs.lib; {
36
36
+
description = "A small script for publishing and building Nix flakes on and for the AT protocol";
37
37
+
homepage = "https://tangled.org/stau.space/nixat";
38
38
+
license = licenses.mit;
39
39
+
platform = platforms.all;
40
40
+
};
41
41
+
42
42
+
outputs = [ "out" ];
43
43
+
44
44
+
configurePhase = ''
45
45
+
runHook preConfigure
46
46
+
mkdir -p $out/bin
47
47
+
runHook postConfigure
48
48
+
'';
49
49
+
50
50
+
buildPhase = ''
51
51
+
runHook preBuild
52
52
+
cp ${./nixat} $out/bin/nixat
53
53
+
chmod +w $out/bin/nixat
54
54
+
wrapProgram $out/bin/nixat --prefix PATH : ${
55
55
+
pkgs.lib.makeBinPath (
56
56
+
with pkgs;
57
57
+
[
58
58
+
jq
59
59
+
git
60
60
+
nix
61
61
+
atproto-goat
62
62
+
]
63
63
+
)
64
64
+
}
65
65
+
runHook postBuild
66
66
+
'';
67
67
+
68
68
+
propagatedBuildInputs = with pkgs; [
69
69
+
jq
70
70
+
git
71
71
+
];
72
72
+
};
73
73
+
}
74
74
+
);
75
75
+
27
76
devShells = forEachSupportedSystem (
28
77
{ pkgs, system }: {
29
78
default = pkgs.mkShellNoCC {