Stitch any CI into Tangled
151
fork

Configure Feed

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

add a nix package for tack #1

open opened by jcollie.dev targeting main from jcollie.dev/tack: nix-package
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:piagd5vdfwfkz746fshbbycv/sh.tangled.repo.pull/3mktb4tqnql22
+22 -7
Diff #0
+11 -7
flake.nix
··· 6 6 flake-utils.url = "github:numtide/flake-utils"; 7 7 }; 8 8 9 - outputs = { 10 - nixpkgs, 11 - flake-utils, 12 - ... 13 - }: 9 + outputs = 10 + { 11 + nixpkgs, 12 + flake-utils, 13 + ... 14 + }: 14 15 flake-utils.lib.eachDefaultSystem ( 15 - system: let 16 + system: 17 + let 16 18 pkgs = nixpkgs.legacyPackages.${system}; 17 - in { 19 + in 20 + { 18 21 devShells.default = pkgs.mkShell { 19 22 packages = [ 20 23 pkgs.go 21 24 ]; 22 25 }; 26 + packages.tack = pkgs.callPackage ./package.nix { }; 23 27 } 24 28 ); 25 29 }
+11
package.nix
··· 1 + { buildGoModule, lib, ... }: 2 + buildGoModule (finalAttrs: { 3 + pname = "tack"; 4 + version = "0.0.0"; 5 + src = lib.clean f./.; 6 + vendorHash = "sha256-2G9Bhflpw0BDcytKB4oOGIi3HR2fFd1rwZFcoIC09TQ="; 7 + meta = { 8 + mainProgram = "tack"; 9 + licenses = [ lib.licenses.mit ]; 10 + }; 11 + })

History

1 round 0 comments
sign up or login to add to the discussion
jcollie.dev submitted #0
1 commit
expand
add nix package for tack
merge conflicts detected
expand
  • flake.nix:6
expand 0 comments