Files
advent-of-code-2024/flake.nix
2024-12-01 20:41:47 -08:00

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 .
'';
};
};
}