rancher-compose: set version during build
This commit is contained in:
parent
ef12f4eab1
commit
a3f38b9adc
@ -13,6 +13,11 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=
|
||||||
|
-X github.com/rancher/rancher-compose/version.VERSION=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
excludedPackages = "scripts";
|
excludedPackages = "scripts";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user