oslib/os/windows/batch.nix
2024-06-24 12:54:49 -06:00

13 lines
239 B
Nix

{ pkgs }: {
stuff = {};
genBatchScript = {
name,
commands,
}: let
# commandsString = pkgs.lib.strings.concatStringsSep "\r\n" commands;
in pkgs.lib.strings.concatStringsSep "\r\n" [
"@echo off"
commands
];
}