Files
uni/flake.nix

28 lines
650 B
Nix

{
description = "HdM Slides - Marp presentation builder";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_22
nodePackages.npm
gnumake
];
shellHook = ''
echo "HdM Slides - run 'make' for available commands"
'';
};
}
);
}