tidied more
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user