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:
parent
266b70339b
commit
0a16737398
10 changed files with 148 additions and 190 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue