Make docker-compose an included dependency
This commit is contained in:
parent
c39d7db5cd
commit
0af009c38d
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
{ stdenv, lib, jq, coreutils }:
|
{ stdenv, lib
|
||||||
|
, coreutils, docker_compose, jq
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "arion";
|
name = "arion";
|
||||||
|
@ -10,7 +12,7 @@ stdenv.mkDerivation {
|
||||||
cp -a nix $out/share/arion/
|
cp -a nix $out/share/arion/
|
||||||
cp -a arion-image $out/share/arion/
|
cp -a arion-image $out/share/arion/
|
||||||
substitute arion $out/bin/arion \
|
substitute arion $out/bin/arion \
|
||||||
--subst-var-by path ${lib.makeBinPath [jq coreutils]} \
|
--subst-var-by path ${lib.makeBinPath [jq coreutils docker_compose]} \
|
||||||
--subst-var-by nix_dir $out/share/arion/nix \
|
--subst-var-by nix_dir $out/share/arion/nix \
|
||||||
;
|
;
|
||||||
chmod a+x $out/bin/arion
|
chmod a+x $out/bin/arion
|
||||||
|
|
Loading…
Reference in a new issue