Skip to content

Commit

Permalink
build: add gh-token to dev img (#3669)
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 authored Dec 8, 2023
1 parent 0ebeae4 commit f682dc5
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 2 deletions.
73 changes: 71 additions & 2 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
concourse-shared.url = "github:galoymoney/concourse-shared";

rust-overlay = {
url = "github:oxalica/rust-overlay";
Expand All @@ -18,6 +19,7 @@
self,
nixpkgs,
flake-utils,
concourse-shared,
rust-overlay,
}:
flake-utils.lib.eachDefaultSystem (system: let
Expand Down Expand Up @@ -208,6 +210,8 @@
cp -rpv "build/$name-$system/bin" "$out/"
'';
};

gh-token = concourse-shared.packages.${system}.gh-token;
in
with pkgs; {
packages = {
Expand Down Expand Up @@ -250,6 +254,7 @@
bash
yq-go
google-cloud-sdk
gh-token
openssh
rsync
git-cliff
Expand Down

0 comments on commit f682dc5

Please sign in to comment.