From 08e047bb2c0da92b7637f6e6034f8a6759a59d31 Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Thu, 24 Jun 2021 22:22:26 +0200 Subject: [PATCH] modules/workaround-make: deprecate --- CHANGELOG.md | 5 +++++ modules/workaround-make.nix | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9678ca2..86b792f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ * The `/etc/nix/nix.conf` file is now fully configurable with the new options `nix.*`. +### Deprecations + +* `system.workaround.make-posix-spawn.enable = true;` is no longer needed + is deprecated. + ## Release 20.09 ### State version changes diff --git a/modules/workaround-make.nix b/modules/workaround-make.nix index 071ef75..8e70d45 100644 --- a/modules/workaround-make.nix +++ b/modules/workaround-make.nix @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE. +# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE. { config, lib, pkgs, ... }: @@ -59,6 +59,12 @@ in ###### implementation config = { + warnings = lib.optionals cfg.enable [ + ("system.workaround.make-posix-spawn.enable " + + "should no longer be needed on 21.05 " + + "and will be removed in 21.11 unless somebody objects") + ]; + build.extraProotOptions = lib.optionals cfg.enable [ "-b"