aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-10 20:41:13 +0100
committerGitHub <noreply@github.com>2023-02-10 20:41:13 +0100
commit67451d8ed797d1bd5fb69f6218ea686761ad13b0 (patch)
treeb7d7fc553066c29ae6009445c089f620b36352ad /tests/nixos
parent9ebbe35817a7f7becf77d9f0cd76c54d693f6f28 (diff)
parenta21405a4e8a5ca4bfbe8df8de2f76d69c4608a9f (diff)
Merge pull request #7802 from edolstra/fix-7783
Fix PID namespace support check
Diffstat (limited to 'tests/nixos')
-rw-r--r--tests/nixos/remote-builds.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/nixos/remote-builds.nix b/tests/nixos/remote-builds.nix
index 696cd2652..1c96cc787 100644
--- a/tests/nixos/remote-builds.nix
+++ b/tests/nixos/remote-builds.nix
@@ -11,6 +11,11 @@ let
{ services.openssh.enable = true;
virtualisation.writableStore = true;
nix.settings.sandbox = true;
+
+ # Regression test for use of PID namespaces when /proc has
+ # filesystems mounted on top of it
+ # (i.e. /proc/sys/fs/binfmt_misc).
+ boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
};
# Trivial Nix expression to build remotely.