Make docker-compose an included dependency

This commit is contained in:
Robert Hensing 2019-01-02 10:10:28 +01:00
parent c39d7db5cd
commit 0af009c38d

View file

@ -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