mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
39 lines
832 B
Nix
39 lines
832 B
Nix
{
|
|
# Override nixpkgs to use the latest set of node packages
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/master";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs =
|
|
{ nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
# generic
|
|
gnumake
|
|
gnutar
|
|
|
|
# frontend
|
|
nodejs
|
|
nodePackages.pnpm
|
|
nodePackages.typescript
|
|
nodePackages.typescript-language-server
|
|
|
|
# backend
|
|
go
|
|
gofumpt
|
|
golangci-lint
|
|
go-mockery
|
|
protobuf
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|