unreal expectance with unreal deadline

This commit is contained in:
Jakub Kropáček 2024-11-17 23:54:24 +01:00
parent 3f7a862cc5
commit 888244daaa
4 changed files with 33 additions and 21 deletions

View file

@ -15,6 +15,7 @@ Why? Because I can. And because I wanted to learn how to write a web application
- [ ] Tests
- [ ] Frontend using templates
- [ ] Authentication middleware
- [ ] Nix flake docker image build
## Used technologies
- [Go](https://go.dev/)

View file

@ -2,19 +2,28 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = {nixpkgs, ...}: {
devShells.x86_64-linux =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {
outputs =
{ nixpkgs, ... }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
/*
packages.x86_64-linux.default = pkgs.dockerTools.buildLayeredImage {
name = "secret-santa";
tag = "latest";
};
*/
devShells.x86_64-linux = {
default = pkgs.mkShell {
packages = [
packages = [
pkgs.sqlc
(pkgs.callPackage ./nix/sql-migrate.nix {})
(pkgs.callPackage ./nix/actiongraph.nix {})
(pkgs.callPackage ./nix/sql-migrate.nix { })
(pkgs.callPackage ./nix/actiongraph.nix { })
pkgs.sqlite
];
};
};
};
}
formatter.x86_64-linux = pkgs.nixfmt-rfc-style;
};
}

View file

@ -1,7 +1,8 @@
{ stdenv
, lib
, buildGoModule
, fetchFromGitHub
{
stdenv,
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
@ -29,4 +30,4 @@ buildGoModule rec {
description = "Go build actiongraph debug visualiser";
license = licenses.mit;
};
}
}

View file

@ -1,8 +1,9 @@
{ stdenv
, lib
, buildGoModule
, fetchFromGitHub
, substituteAll
{
stdenv,
lib,
buildGoModule,
fetchFromGitHub,
substituteAll,
}:
buildGoModule rec {
@ -37,4 +38,4 @@ buildGoModule rec {
description = "SQL schema migration tool for Go programs";
license = licenses.mit;
};
}
}