mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
changes practically nothing but why not, it's nicer
This commit is contained in:
parent
755f7f3806
commit
97c7bd5ec3
2 changed files with 2 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
nix.config = {
|
||||
extra-platforms = "aarch64-linux";
|
||||
#extra-sandbox-paths = with channels.cipkgs; map (package: builtins.unsafeDiscardStringContext package) [bash qemu "/run/binfmt"];
|
||||
extra-sandbox-paths = with channels.cipkgs; map (package: builtins.unsafeDiscardStringContext "${package}?") [bash qemu "/run/binfmt"];
|
||||
};
|
||||
|
||||
gh-actions = {
|
||||
|
|
@ -36,7 +36,6 @@
|
|||
''; in
|
||||
channels.cipkgs.writeShellScriptBin "aarch64binfmt" ''
|
||||
${makeQemuWrapper "aarch64"}
|
||||
echo 'extra-sandbox-paths = ${channels.cipkgs.bash} ${channels.cipkgs.qemu} /run/binfmt' >> /etc/nix/nix.conf
|
||||
echo ':aarch64-linux:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x00\xff\xfe\xff\xff\xff:/run/binfmt/aarch64:' > /proc/sys/fs/binfmt_misc/register
|
||||
'';
|
||||
sourceCache = channels.cipkgs.runCommand "sources"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue