forked from hacc/haccfiles
uncurse mattermost
thanks to emily for the secret nixpkgs knowledge!
This commit is contained in:
parent
2988939be0
commit
461cb01126
1 changed files with 7 additions and 11 deletions
|
@ -9,17 +9,13 @@ let
|
||||||
|
|
||||||
src = "${sources.mattermost-server}/server";
|
src = "${sources.mattermost-server}/server";
|
||||||
|
|
||||||
# this is a hack. with it uncommented, the dependencies as specified by the vendor
|
# TODO: this should not be needed after the next update, assuming they don't
|
||||||
# hash can be built, but not the package itself. without it, the package itself
|
# again push a release without running `go mod tidy`
|
||||||
# can be built, but not its dependencies. Thus the only way to build this package
|
overrideModAttrs = (_: {
|
||||||
# for now is to run it twice, and rely on the nix store's caching
|
preBuild = ''
|
||||||
#
|
go mod tidy
|
||||||
# this bit is cursed, and i am too tired to try and fix it now
|
'';
|
||||||
# ~terru
|
});
|
||||||
|
|
||||||
# preBuild = ''
|
|
||||||
# go mod tidy
|
|
||||||
# '';
|
|
||||||
|
|
||||||
vendorHash = "sha256-ZbLSxG9Gyhk7PBC2V6sMtrQNXvm+ugMfliFIHWO1VLs=";
|
vendorHash = "sha256-ZbLSxG9Gyhk7PBC2V6sMtrQNXvm+ugMfliFIHWO1VLs=";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue