Skip to content

Commit

Permalink
Nix flake 👀
Browse files Browse the repository at this point in the history
  • Loading branch information
Reavershark committed Dec 3, 2024
1 parent d79d867 commit 279a5cf
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 2 deletions.
61 changes: 61 additions & 0 deletions 2024/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions 2024/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
description = "Zeus AoC 2024";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem(system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShell = pkgs.mkShell {
name = "Advent of Code 2024";
packages = [
pkgs.hyperfine
pkgs.postgresql_14
pkgs.ldc
pkgs.go
];
};
}
);
}
2 changes: 1 addition & 1 deletion 2024/jnms
2 changes: 1 addition & 1 deletion 2024/vincent

0 comments on commit 279a5cf

Please sign in to comment.