diff --git a/2024/flake.lock b/2024/flake.lock new file mode 100644 index 0000000..3eb5ad6 --- /dev/null +++ b/2024/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1733212471, + "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/2024/flake.nix b/2024/flake.nix new file mode 100644 index 0000000..5209946 --- /dev/null +++ b/2024/flake.nix @@ -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 + ]; + }; + } + ); +} diff --git a/2024/jnms b/2024/jnms index 4fa4818..c17fa24 160000 --- a/2024/jnms +++ b/2024/jnms @@ -1 +1 @@ -Subproject commit 4fa48184508dcc7eb1b10c7fae667db940ba4dfa +Subproject commit c17fa2417d902044125061c0c1723b8ff1bc3851 diff --git a/2024/vincent b/2024/vincent index 49732a1..ce1bcb7 160000 --- a/2024/vincent +++ b/2024/vincent @@ -1 +1 @@ -Subproject commit 49732a1a179beb7746aa54f1e2aa9e773f31f97d +Subproject commit ce1bcb790aea183311617375a589282965763f39