22 lines
301 B
Nix
22 lines
301 B
Nix
|
{
|
||
|
|
||
|
buildSystem ? builtins.currentSystem,
|
||
|
pkgsNix ? (import ./nix/pkgs.nix),
|
||
|
|
||
|
}: let
|
||
|
|
||
|
pkgs = pkgsNix.default {
|
||
|
inherit buildSystem;
|
||
|
hostSystem = buildSystem;
|
||
|
};
|
||
|
|
||
|
in pkgs.mkShell {
|
||
|
buildInputs = [
|
||
|
pkgs.go
|
||
|
pkgs.golangci-lint
|
||
|
];
|
||
|
shellHook = ''
|
||
|
true # placeholder
|
||
|
'';
|
||
|
}
|