···1414 sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
1515 };
16161717- preBuild = ''
1818- # TODO: is there a way to get the commit ref so we can set main.buildCommit?
1919- buildFlagsArray+=("-ldflags" "-X main.buildDate=1970-01-01T00:00:00+0000 -X main.buildVersion=${version}")
2020-'';
1717+ # TODO: is there a way to get the commit ref so we can set main.buildCommit?
1818+ ldflags = [
1919+ "-X main.buildDate=1970-01-01T00:00:00+0000" "-X main.buildVersion=${version}"
2020+ ];
21212222 meta = {
2323 description = "A go rewrite of envdir";