1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

migrate scripts to nushell

This commit is contained in:
Robin Appelman 2026-04-13 19:24:21 +02:00
commit 0a16737398
10 changed files with 148 additions and 190 deletions

View file

@ -7,6 +7,7 @@
blackfire,
coreutils,
getent,
writers,
shadow,
runCommand,
callPackage,
@ -44,11 +45,7 @@
phpVersion = concatStringsSep "." (take 2 (splitString "." php.version));
phpEnv = callPackage ./php.nix {inherit debug php;};
bootstrap = writeShellApplication {
name = "bootstrap";
runtimeInputs = [getent];
text = readFile ./bootstrap.sh;
};
bootstrap = writers.writeNuBin "bootstrap" (readFile ./bootstrap);
shadowSetupScript = writeShellApplication {
name = "shadow-setup";
text = dockerTools.shadowSetup;
@ -144,6 +141,7 @@
python3Packages.supervisor
dnsmasq
nushell
getent
];
};