aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-03-24 14:50:15 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-03-31 08:31:30 +0200
commitff1a2143aa1338ccba0e2bc5ccd66bd3df8baa31 (patch)
tree662dd43bb07e5de7cc4914ce35d006f1898437e8 /flake.nix
parentc3090bc6fdf6e052cd4c56fce6aeb11ddeb5dd6f (diff)
flake.nix: Make the sandbox tests work again
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index adb796a05..9a758eafa 100644
--- a/flake.nix
+++ b/flake.nix
@@ -78,7 +78,8 @@
buildPackages.git
buildPackages.mercurial
buildPackages.jq
- ];
+ ]
+ ++ lib.optionals stdenv.isLinux [(pkgs.util-linuxMinimal or pkgs.utillinuxMinimal)];
buildDeps =
[ curl
@@ -90,7 +91,7 @@
lowdown
gmock
]
- ++ lib.optionals stdenv.isLinux [libseccomp (pkgs.util-linuxMinimal or pkgs.utillinuxMinimal)]
+ ++ lib.optionals stdenv.isLinux [libseccomp]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional stdenv.isx86_64 libcpuid;