mirror of
https://cgit.krebsco.de/krops
synced 2024-11-01 00:39:48 +01:00
e89cf20d43
https://cgit.krebsco.de/stockholm 877b4104370c1ea9698a449e376e2842d7c372fd
20 lines
367 B
Nix
20 lines
367 B
Nix
{ coreutils, findutils, git, gnused, jq, openssh, pass, rsync, runCommand, stdenv }:
|
|
|
|
let
|
|
PATH = stdenv.lib.makeBinPath [
|
|
coreutils
|
|
findutils
|
|
git
|
|
gnused
|
|
jq
|
|
openssh
|
|
pass
|
|
rsync
|
|
];
|
|
in
|
|
|
|
runCommand "populate-2.2.0" {} ''
|
|
mkdir -p $out/bin
|
|
cp ${./populate.sh} $out/bin/populate
|
|
sed -i '1s,.*,&\nPATH=${PATH},' $out/bin/populate
|
|
''
|