aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-10 17:51:44 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-02-10 17:51:44 +0100
commita21405a4e8a5ca4bfbe8df8de2f76d69c4608a9f (patch)
treee0bf49cac3f5c4d25b88b15f7ddcb6d77feec397
parentc49b7472eaa7a6501aa937b40f80702ecf0f43e6 (diff)
Add regression test
-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.