aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index b8d5e0087..8cd000e83 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;
@@ -233,6 +234,8 @@
separateDebugInfo = true;
+ strictDeps = true;
+
passthru.perl-bindings = with final; stdenv.mkDerivation {
name = "nix-perl-${version}";
@@ -517,6 +520,8 @@
installCheckFlags = "sysconfdir=$(out)/etc";
stripAllList = ["bin"];
+
+ strictDeps = true;
};
});