this repo has no description

Flake working + Readme

estym 23b5501c b0a457fe

Changed files
+55 -11
.tangled
workflows
+1 -1
.gitignore
··· 1 - result/ 1 + result
+16
.tangled/workflows/test.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + # custom registry 9 + git+https://tangled.org/regnault.dev/spindle-artifact: 10 + - spindle-artifact 11 + 12 + steps: 13 + - name: Upload file 14 + command: | 15 + echo "a" > a.txt 16 + ~/.nix-profile/bin/spindle-artifact webfishing-macos-atproto 1.0 a.txt
+22
README.md
··· 1 + # Spindle Artifact 2 + 3 + ## Configuration 4 + 5 + In order to use the program you need to have two secrets 6 + 7 + - `ATPROTO_HANDLE`: The handle of the owner of the repo 8 + - `ATPROTO_APP_PASSWORD`: An App Password for the accounts 9 + 10 + ## Usage 11 + 12 + ```yaml 13 + dependencies: 14 + # custom registry 15 + git+https://tangled.org/regnault.dev/spindle-artifact: 16 + - spindle-artifact 17 + 18 + steps: 19 + - name: Upload file 20 + command: | 21 + ~/.nix-profile/bin/spindle-artifact [repo] [tag] [file] 22 + ```
+10 -8
flake.lock
··· 2 2 "nodes": { 3 3 "nixpkgs": { 4 4 "locked": { 5 - "lastModified": 1758035966, 6 - "narHash": "sha256-qqIJ3yxPiB0ZQTT9//nFGQYn8X/PBoJbofA7hRKZnmE=", 7 - "rev": "8d4ddb19d03c65a36ad8d189d001dc32ffb0306b", 8 - "revCount": 862643, 9 - "type": "tarball", 10 - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.862643%2Brev-8d4ddb19d03c65a36ad8d189d001dc32ffb0306b/01995b50-95e4-7d71-b9c1-6826ce5699df/source.tar.gz" 5 + "lastModified": 1765779637, 6 + "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=", 7 + "owner": "nixos", 8 + "repo": "nixpkgs", 9 + "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4", 10 + "type": "github" 11 11 }, 12 12 "original": { 13 - "type": "tarball", 14 - "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1" 13 + "owner": "nixos", 14 + "ref": "nixos-unstable", 15 + "repo": "nixpkgs", 16 + "type": "github" 15 17 } 16 18 }, 17 19 "root": {
+6 -2
flake.nix
··· 2 2 description = "Go example flake for Zero to Nix"; 3 3 4 4 inputs = { 5 - nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; 5 + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 6 6 }; 7 7 8 8 outputs = ··· 30 30 packages = forAllSystems ( 31 31 { pkgs }: 32 32 { 33 - default = pkgs.buildGoModule { 33 + spindle-artifact = pkgs.buildGoModule { 34 34 name = "spindle-artifact"; 35 35 src = self; 36 36 vendorHash = "sha256-Z1LxWHlFbVEXWXt+73lu6yMCXnJD/JhpVq/8AaE+08s="; 37 37 goSum = ./go.sum; 38 + 39 + prePatch = '' 40 + export HOME=$TMPDIR 41 + ''; 38 42 }; 39 43 } 40 44 );