From 1b9dad8e613246fb4edbc7fb0667a744c44d40e6 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Wed, 8 Dec 2021 12:59:36 -0700 Subject: [PATCH] nix: remove ca-references feature flag This experimental feature has been removed from Nix in unstable versions recently, and with this set, it now pops up an unsupressable warning message. Not so bad on its own, but when using Tab completion it corrupts the output. --- flake.nix | 2 +- modules/nix-config.nix | 1 - shell.nix | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 35bf3fe..b3730e5 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "DevOS environment configuriguration library."; - nixConfig.extra-experimental-features = "nix-command flakes ca-references"; + nixConfig.extra-experimental-features = "nix-command flakes"; nixConfig.extra-substituters = "https://nrdxp.cachix.org https://nix-community.cachix.org"; nixConfig.extra-trusted-public-keys = "nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="; diff --git a/modules/nix-config.nix b/modules/nix-config.nix index 308d755..8ce0429 100644 --- a/modules/nix-config.nix +++ b/modules/nix-config.nix @@ -4,7 +4,6 @@ let experimental-features = [ "flakes" "nix-command" - "ca-references" ]; substituters = [ "https://nrdxp.cachix.org" # quality of life cache from our CI diff --git a/shell.nix b/shell.nix index 8dc8e4c..78c78c4 100644 --- a/shell.nix +++ b/shell.nix @@ -101,7 +101,7 @@ devshell.mkShell { { name = "NIX_CONFIG"; value = - ''extra-experimental-features = nix-command flakes ca-references + ''extra-experimental-features = nix-command flakes extra-substituters = https://nrdxp.cachix.org https://nix-community.cachix.org extra-trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=''; }