summaryrefslogtreecommitdiff
path: root/srv/default.nix
blob: e4babab72a74fec2d8a2068630467211851924c8 (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 = "08wv94yv2wmlxzmanw551gixc8v8nl6zq2m721ig9nl3r540x46f";
        };

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

    }