Files
hearth/package/windows-devshell/default.nix
T
yukkop 6f80f672f2
runner nix smoke / nix label and flake smoke (push) Failing after 7s
rework: fix all vulnerabilities
2026-09-08 10:36:38 +00:00

11 lines
430 B
Nix

{ pkgs, linux-devshell-standalone }:
{
windows-devshell-standalone = pkgs.runCommand "windows-devshell.ps1" {
meta.description = "Standalone windows-devshell PowerShell script (single file)";
} ''
linux_dev_shell_base64=$(${pkgs.coreutils}/bin/base64 -w 0 ${linux-devshell-standalone})
${pkgs.gnused}/bin/sed "s|@LINUX_DEVSHELL_BASE64@|$linux_dev_shell_base64|g" \
${./windows-devshell.ps1} > "$out"
'';
}