vscode: add strictDeps and structuredAttrs

This commit is contained in:
Aiden Schembri
2026-07-21 21:56:27 +05:30
committed by John Titor
parent ec4c872f2c
commit ef919c1a8b
+12 -2
View File
@@ -181,6 +181,8 @@ stdenv.mkDerivation (
buildFHSEnv customizedArgs;
in
{
strictDeps = true;
__structuredAttrs = true;
inherit
pname
@@ -199,8 +201,16 @@ stdenv.mkDerivation (
updateScript
vscodeVersion
;
fhs = fhs { };
fhsWithPackages = f: fhs { additionalPkgs = f; };
fhs = (fhs { }).overrideAttrs (old: {
strictDeps = true;
__structuredAttrs = true;
});
fhsWithPackages =
f:
(fhs { additionalPkgs = f; }).overrideAttrs (old: {
strictDeps = true;
__structuredAttrs = true;
});
}
// lib.optionalAttrs (vscodeServer != null) {
inherit rev vscodeServer;