vim notify, and devenv
This commit is contained in:
32
shells/flalingo/go/flake.nix
Normal file
32
shells/flalingo/go/flake.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
description = "GO";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in
|
||||
{
|
||||
devShell =
|
||||
with pkgs; mkShell rec {
|
||||
# ANDROID_SDK_ROOT = "${androidSdk}/libexec/android-sdk";
|
||||
GOPATH="${go}";
|
||||
buildInputs = [
|
||||
go
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
zsh
|
||||
|
||||
exit
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user