forgejo-runner: install nix-update
This commit is contained in:
parent
9c35d72d5f
commit
f54009fa6e
1 changed files with 15 additions and 1 deletions
|
@ -5,9 +5,23 @@
|
||||||
let
|
let
|
||||||
forgejoUrl = "https://git.kempkens.io";
|
forgejoUrl = "https://git.kempkens.io";
|
||||||
|
|
||||||
|
storeDepsBins = [
|
||||||
|
pkgs.attic-client
|
||||||
|
pkgs.coreutils
|
||||||
|
pkgs.findutils
|
||||||
|
pkgs.gnugrep
|
||||||
|
pkgs.gawk
|
||||||
|
pkgs.git
|
||||||
|
pkgs.nixVersions.stable
|
||||||
|
pkgs.nix-update
|
||||||
|
pkgs.bash
|
||||||
|
pkgs.jq
|
||||||
|
pkgs.nodejs
|
||||||
|
];
|
||||||
|
|
||||||
storeDeps = pkgs.runCommand "store-deps" { } ''
|
storeDeps = pkgs.runCommand "store-deps" { } ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
for dir in ${toString [ pkgs.attic-client pkgs.coreutils pkgs.findutils pkgs.gnugrep pkgs.gawk pkgs.git pkgs.nixVersions.stable pkgs.bash pkgs.jq pkgs.nodejs ]}; do
|
for dir in ${toString storeDepsBins}; do
|
||||||
for bin in "$dir"/bin/*; do
|
for bin in "$dir"/bin/*; do
|
||||||
ln -s "$bin" "$out/bin/$(basename "$bin")"
|
ln -s "$bin" "$out/bin/$(basename "$bin")"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue