27 lines
521 B
Nix
27 lines
521 B
Nix
{
|
|
description = "Advent of Code 2024";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
};
|
|
|
|
outputs = { nixpkgs, ... }:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
};
|
|
in
|
|
{
|
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
python313
|
|
python313Packages.venvShellHook
|
|
];
|
|
venvDir = "./.venv";
|
|
postVenvCreation = ''
|
|
pip install --editable .
|
|
'';
|
|
};
|
|
};
|
|
}
|