modules/workaround-make: deprecate

This commit is contained in:
Alexander Sosedkin 2021-06-24 22:22:26 +02:00
parent 6d7edfc20b
commit 08e047bb2c
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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"