summaryrefslogtreecommitdiff
path: root/srv/default.nix
blob: 5a4a4d01ae6a2bf1571edfe59e7148ad74f1cb5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let
    utils = (import ../nix) {};
    pkgs = utils.pkgs;
    system = utils.system;
in
    {

        build = pkgs.buildGoModule {
            pname = "mediocre-blog-srv";
            version = "dev";
            src = ./.;
            vendorSha256 = "0xr5gks5mrh34s5npncw71wncrzqrhnm3vjfwdakd7fzd6iw049z";
        };

        shell = pkgs.stdenv.mkDerivation {
            name = "mediocre-blog-srv-shell";
            buildInputs = [ pkgs.go ];
        };

    }