CMU Coding Bootcamp
1# SPDX-FileCopyrightText: 2025 FreshlyBakedCake
2#
3# SPDX-License-Identifier: MIT
4
5let
6 pins = import ./npins;
7
8 nilla = import pins.nilla;
9in
10nilla.create (
11 { config, lib }:
12 {
13 config = {
14 inputs = {
15 nixpkgs = {
16 src = pins.nixpkgs;
17 };
18 };
19 shells.default = config.shells.python;
20 shells.python = {
21 # Declare what systems the shell can be used on.
22 systems = [ "x86_64-linux" ];
23
24 # Define our shell environment.
25 shell =
26 {
27 pkgs,
28 mkShell,
29 ...
30 }:
31 mkShell {
32 packages = [
33 pkgs.python314
34 pkgs.black
35 ];
36 };
37 };
38 };
39 }
40)