From abb7609f1a1a8bb4228ed73ee6139ea49262f4a7 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 16 Aug 2020 15:29:02 +0300 Subject: [PATCH] Small improvements to summary vs motivation --- rfcs/0075-declarative-wrappers.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/rfcs/0075-declarative-wrappers.md b/rfcs/0075-declarative-wrappers.md index 512511c..47da309 100644 --- a/rfcs/0075-declarative-wrappers.md +++ b/rfcs/0075-declarative-wrappers.md @@ -12,19 +12,17 @@ related-issues: POC Implementation at [#85103](https://github.com/NixOS/nixpkgs/ [summary]: #summary Manage the environment of wrappers declaratively and deprecate shell based -methods for calculating runtime environment of packages. +methods for calculating runtime environment of packages. Make wrappers a +separate derivation so that mere changes to the environment will not trigger a +rebuild. Make it easier to debug why env vars are added to an executable, by +using Nix as the language to evaluate what env vars are needed, instead of not +documented good enough and not easily debug-able shell hooks. # Motivation [motivation]: #motivation -- Make wrappers a separate derivation to make mere changes to the environment - not trigger a heavy rebuild. -- Make it easier to debug why env vars are added to an executable, by using Nix - as the language to evaluate what env vars are needed, instead of not - documented good enough and not easily debug-able shell hooks. - We have numerous issues regarding wrappers and our wrapper shell hooks. Here's -a list of them, sorted by categories. +a list of them, sorted to categories. ## Closure related