unreal expectance with unreal deadline
This commit is contained in:
parent
3f7a862cc5
commit
888244daaa
4 changed files with 33 additions and 21 deletions
|
@ -15,6 +15,7 @@ Why? Because I can. And because I wanted to learn how to write a web application
|
||||||
- [ ] Tests
|
- [ ] Tests
|
||||||
- [ ] Frontend using templates
|
- [ ] Frontend using templates
|
||||||
- [ ] Authentication middleware
|
- [ ] Authentication middleware
|
||||||
|
- [ ] Nix flake docker image build
|
||||||
|
|
||||||
## Used technologies
|
## Used technologies
|
||||||
- [Go](https://go.dev/)
|
- [Go](https://go.dev/)
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -2,11 +2,19 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
outputs = {nixpkgs, ...}: {
|
outputs =
|
||||||
devShells.x86_64-linux =
|
{ nixpkgs, ... }:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
packages.x86_64-linux.default = pkgs.dockerTools.buildLayeredImage {
|
||||||
|
name = "secret-santa";
|
||||||
|
tag = "latest";
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
devShells.x86_64-linux = {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.sqlc
|
pkgs.sqlc
|
||||||
|
@ -16,5 +24,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
formatter.x86_64-linux = pkgs.nixfmt-rfc-style;
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -1,7 +1,8 @@
|
||||||
{ stdenv
|
{
|
||||||
, lib
|
stdenv,
|
||||||
, buildGoModule
|
lib,
|
||||||
, fetchFromGitHub
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ stdenv
|
{
|
||||||
, lib
|
stdenv,
|
||||||
, buildGoModule
|
lib,
|
||||||
, fetchFromGitHub
|
buildGoModule,
|
||||||
, substituteAll
|
fetchFromGitHub,
|
||||||
|
substituteAll,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
|
Loading…
Reference in a new issue