diff options
-rw-r--r-- | third_party/nix/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 049d48e89aff..12b5000d3b26 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -1,4 +1,5 @@ -{ pkgs ? (import <nixpkgs> {}).third_party, ... }: +{ pkgs ? (import <nixpkgs> {}).third_party +, buildType ? "release", ... }: let stdenv = with pkgs; overrideCC clangStdenv clang_10; @@ -55,8 +56,7 @@ in stdenv.mkDerivation { xz ]; - mesonBuildType = "release"; - + mesonBuildType = buildType; mesonFlags = [ "-Dsandbox_shell=${pkgs.busybox-sandbox-shell}/bin/busybox" ]; |