mirror of
https://github.com/fredrikr79/advent_of_code.git
synced 2026-01-13 20:53:07 +01:00
25 lines
483 B
Nix
25 lines
483 B
Nix
{
|
|
description = "advent of code 2024 day 10 in odin";
|
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
outputs =
|
|
{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
odin
|
|
];
|
|
shellHook = ''
|
|
echo "Entering odin devshell..."
|
|
'';
|
|
};
|
|
};
|
|
}
|