add nix runner

This commit is contained in:
shobu
2025-12-23 18:15:25 +01:00
parent c0cfafbe2c
commit f6c75d185c

View File

@@ -6,8 +6,12 @@
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system: outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib;
in in
{ {
packages = {
docker = pkgs.writeShellScriptBin "docker" "${lib.getExe pkgs.presenterm} docker/docker.md -x";
};
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
presenterm presenterm