rancher-compose: set version during build

This commit is contained in:
Jörg Thalheim
2016-10-22 14:40:30 +02:00
parent ef12f4eab1
commit a3f38b9adc
@@ -13,6 +13,11 @@ let
inherit sha256;
};
buildFlagsArray = ''
-ldflags=
-X github.com/rancher/rancher-compose/version.VERSION=${version}
'';
excludedPackages = "scripts";
meta = with lib; {