rancher-compose: set version during build
This commit is contained in:
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; {
|
||||
|
Loading…
Reference in New Issue
Block a user