You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
638 B
Nix
29 lines
638 B
Nix
{
|
|
description = "Vibed — edu dev shell";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
nbd.url = "path:../nbd";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, nbd }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = [
|
|
pkgs.mdbook
|
|
nbd.packages.${system}.nbd
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "vibed/edu dev shell loaded"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
}
|