From da9104767ed182e2ccb296a215e8f63fd4059d15 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 24 May 2020 17:53:42 +0100 Subject: chore(3p/nix): Make build type configurable --- third_party/nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 049d48e89a..12b5000d3b 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -1,4 +1,5 @@ -{ pkgs ? (import {}).third_party, ... }: +{ pkgs ? (import {}).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" ]; -- cgit 1.4.1