depot/go/nix/nixbuild/default.nix

24 lines
470 B
Nix
Raw Normal View History

2023-08-23 23:00:44 +00:00
# SPDX-FileCopyrightText: 2023 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.package {
name = "nixbuild";
path = "hg.lukegb.com/lukegb/depot/go/nix/nixbuild";
srcs = [
./config.go
./coordinator.go
./httpresolver.go
./nixbuild.go
./peerresolver.go
./state.go
./workitem.go
];
deps = with depot; [
go.nix.nixstore
go.nix.nixpool
go.nix.nar
];
}