packages/hyprspace: init devShell

This commit is contained in:
Max Headroom 2022-09-25 22:02:59 +02:00
parent 9df627a8d2
commit 91786feec3
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
source ../../build-support/activate-shell
nix_direnv_watch_file project.nix

View file

@ -1,6 +1,12 @@
{ inputs, lib, pkgs, ... }: { inputs, lib, pkgs, ... }:
{ {
projectShells.hyprspace = {
tools = [
pkgs.go
];
env.GOPATH.eval = "$PRJ_DATA_DIR/go";
};
packages.hyprspace = with pkgs; buildGoModule { packages.hyprspace = with pkgs; buildGoModule {
pname = "hyprspace"; pname = "hyprspace";
version = "0.2.2"; version = "0.2.2";