rancher-compose: set version during build

This commit is contained in:
Jörg Thalheim 2016-10-16 18:03:52 +02:00
parent ef12f4eab1
commit a3f38b9adc
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -13,6 +13,11 @@ let
inherit sha256;
};
buildFlagsArray = ''
-ldflags=
-X github.com/rancher/rancher-compose/version.VERSION=${version}
'';
excludedPackages = "scripts";
meta = with lib; {