2024-01-04 22:18:21 +01:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
}: let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
formatter.${system} = pkgs.alejandra;
|
|
|
|
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
2024-01-05 13:01:07 +01:00
|
|
|
buildInputs = with pkgs; [
|
|
|
|
gnumake
|
|
|
|
go
|
|
|
|
hugo
|
|
|
|
];
|
2024-01-04 22:18:21 +01:00
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
echo '
|
|
|
|
┏━╸╺┳╸┏━┓╻ ╺━┓ ┏━╸┏━┓
|
|
|
|
┃ ┃ ┣┳┛┃ ┏━┛ ┣╸ ┗━┓
|
|
|
|
┗━╸ ╹ ╹┗╸┗━╸┗━╸╹┗━╸┗━┛
|
|
|
|
'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|