tidied more

This commit is contained in:
2026-10-23 18:43:52 -04:00
parent 3f2f448c03
commit 64cb65760e
3 changed files with 21 additions and 19 deletions
+2
View File
@@ -21,6 +21,7 @@
umask 022
mkdir -p dev proc sys tmp usr nix/store root/student root/project root/results
chmod 777 tmp
chmod 700 root
for FILE in $(cat ${closure}/store-paths) ; do
cp -a "$FILE" nix/store
@@ -78,6 +79,7 @@
pigeon = pkgs.writeShellApplication {
name = "pigeon";
runtimeInputs = with pkgs; [ coreutils curl diffutils e2fsprogs firecracker git jq sqlite ];
excludeShellChecks = [ "SC2016" "SC2030" "SC2031" ];
text = builtins.replaceStrings
[ "@kernel@" "@rootfs@" "@toolchain@" ] [ "${kernel}" "${rootfs}" "${toolchain}" ]
(builtins.readFile ./pigeon.sh);